|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nuiton.topia.replication.TopiaReplicationOperationProvider
public class TopiaReplicationOperationProvider
Provider of TopiaReplicationOperation.
| Field Summary | |
|---|---|
protected TopiaReplicationOperation[] |
operations
All available operations detected via a ServiceLoader on
contract TopiaReplicationOperation. |
| Constructor Summary | |
|---|---|
TopiaReplicationOperationProvider()
|
|
| Method Summary | |
|---|---|
TopiaReplicationOperation |
getOperation(Class<? extends TopiaReplicationOperation> operationClass)
Obtains the instanciated (and initialized) operation of the given type. |
TopiaReplicationOperation |
getOperation(ReplicationOperationDef operationDef)
Obtains the instanciated (and initialized) operation of the given operation definition. |
TopiaReplicationOperation[] |
getOperations()
Obtains all TopiaReplicationOperation available
via ServiceLoader. |
TopiaReplicationOperationUndoable |
getUndoableOperation(ReplicationOperationDef operationDef)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected TopiaReplicationOperation[] operations
ServiceLoader on
contract TopiaReplicationOperation.
| Constructor Detail |
|---|
public TopiaReplicationOperationProvider()
| Method Detail |
|---|
public TopiaReplicationOperation[] getOperations()
TopiaReplicationOperation available
via ServiceLoader.
If operations is null, then load operations, otherwise just
return the already computed result.
public TopiaReplicationOperation getOperation(Class<? extends TopiaReplicationOperation> operationClass)
operationClass - type of searched operation
null if not found.public TopiaReplicationOperation getOperation(ReplicationOperationDef operationDef)
operationDef - operation definition of searched operation
null if not found.
public TopiaReplicationOperationUndoable getUndoableOperation(ReplicationOperationDef operationDef)
throws IllegalArgumentException
IllegalArgumentException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||