|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.waveset.provision.ThreadContext
com.waveset.provision.FetchContext
com.waveset.provision.ResourcePasswordContext
A class holding the runtime state for a resource password update
Field Summary | |
static java.lang.String |
code_id
|
Fields inherited from class com.waveset.provision.ThreadContext |
trace |
Constructor Summary | |
ResourcePasswordContext(Provisioner p,
ProvisioningOptions options)
|
Method Summary | |
void |
buildResourceOps()
Build a base list of "resource operation" objects for each resource whose connection accounts are to be modified. |
ResourceOp |
getNextOp()
Return the next operation that a thread can perform. |
void |
prepare()
Make any last minute preparations before launching. |
void |
processOp(ResourceOp op,
int thread)
Called by each thread after it has obtained an operation to perform. |
void |
updateResourcePassword(ResourceOp op,
int thread)
This is the inner implementation of the update resource account password operation. |
Methods inherited from class com.waveset.provision.FetchContext |
doFetch, getDesiredThreads, getOps, getResults, init, isFinished |
Methods inherited from class com.waveset.provision.ThreadContext |
buildResourceUser, buildResourceUser, checkAdapters, generateIdentities, getAdministratorName, getExplicitIdentity, getOp, getOptions, getProvisioner, getUser, getUserName, launchThreads, normalizeResourceInfos, overrideResourceAttributes, println, setTrace |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String code_id
Constructor Detail |
public ResourcePasswordContext(Provisioner p, ProvisioningOptions options)
Method Detail |
public void prepare() throws WavesetException
prepare
in class FetchContext
WavesetException
public ResourceOp getNextOp()
getNextOp
in class FetchContext
public void processOp(ResourceOp op, int thread) throws WavesetException
processOp
in class FetchContext
WavesetException
public void buildResourceOps() throws WavesetException
buildResourceOps
in class FetchContext
WavesetException
public void updateResourcePassword(ResourceOp op, int thread) throws WavesetException
This method must not be synchronized, all state is maintained in the ResourceOp. Modifications should only be made in the ResourceInfo that is associated with this resource.
WavesetException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |