|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--com.novell.ecb.secretstore.SecretStoreBean
|
+--com.novell.ecb.secretstore.RepairSecretStore
Repairs target object’s damaged SecretStore. Only possible repairs are done to the damaged SecretStore.
ssInstance - A SecretStoreInstance object that represents the SecretStore to be repaired.
None
| Field Summary |
| Fields inherited from class com.novell.ecb.secretstore.SecretStoreBean |
MAX_BUFFER_SIZE |
| Constructor Summary | |
RepairSecretStore()
Constructs a RepairSecretStore command bean. |
|
RepairSecretStore(SecretStoreInstance ssInstance)
Constructs a RepairSecretStore command bean and sets the SecretStoreInstance to be used. |
|
| Method Summary | |
void |
execute()
Executes this command bean for repairing a SecretStore. |
boolean |
isReady()
Tests whether the required input properties are set and the bean is in "initialized" state. |
void |
reset()
Resets the output properties to the values they had before the execute method was called. |
| Methods inherited from class com.novell.ecb.secretstore.SecretStoreBean |
getSecretStoreInstance, setSecretStoreInstance |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public RepairSecretStore()
public RepairSecretStore(SecretStoreInstance ssInstance)
ssInstance - - A SecretStoreInstance object that represents the SecretStore to be repaired.| Method Detail |
public boolean isReady()
If the user does not set a value for optional input property, default value is used. Therefore, these properties do not affect the readiness of the bean. However, bean will not be in ready state if any of the required input properties is not set.
public void reset()
There is no output property to reset.
public void execute()
throws CommandException
CommandException - Thrown if the bean fails to execute.
Example: Shows how to use RepairSecretStore bean.
// Get the SecretStoreInstance created by the CreateSecretStoreInstance bean.
SecretStoreInstance ssi = createSSI.getSecretStoreInstance();
try
{
// Instantiate the command bean
RepairSecretStore repairSS = new RepairSecretStore(ssi);
// This bean has SecretStoreInstance as the only
// input property
// Call the execute method of the command bean
repairSS.execute();
// There is no output property of this bean
// Do any further operations
...
...
}
catch(CommandException e)
{
// TODO: Handle exception
}
CreateSecretStoreInstance
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||