com.waveset.adapter
Class AIXResourceAdapter.AcctIter

java.lang.Object
  extended bycom.waveset.adapter.AIXResourceAdapter.AcctIter
All Implemented Interfaces:
AccountIterator
Enclosing class:
AIXResourceAdapter

protected class AIXResourceAdapter.AcctIter
extends java.lang.Object
implements AccountIterator

AccountIterator implementation that can be built by construction from the output of "lsuser ALL". Builds users on the fly as the iterator progresses. DOES NOT fill in user attributes yet.


Field Summary
 
Fields inherited from interface com.waveset.adapter.AccountIterator
code_id
 
Constructor Summary
AIXResourceAdapter.AcctIter(CaptureList captureList)
          Convenience constructor that builds an account iterator from a string of space delimited user names.
 
Method Summary
 void close()
          Closes the iterator.
 boolean hasNext()
          Returns true if there are more users to go.
 WSUser next()
          Returns the next user.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AIXResourceAdapter.AcctIter

public AIXResourceAdapter.AcctIter(CaptureList captureList)
Convenience constructor that builds an account iterator from a string of space delimited user names.

Method Detail

hasNext

public boolean hasNext()
Returns true if there are more users to go.

Specified by:
hasNext in interface AccountIterator

next

public WSUser next()
            throws WavesetException
Returns the next user.

Specified by:
next in interface AccountIterator
Returns:
the next account

Throws:
WavesetException

close

public void close()
Closes the iterator.

Specified by:
close in interface AccountIterator