Interface ManagedObjectSourceMetaData<O extends java.lang.Enum<O>,F extends java.lang.Enum<F>>
-
- All Known Implementing Classes:
MockManagedObjectSourceMetaData
public interface ManagedObjectSourceMetaData<O extends java.lang.Enum<O>,F extends java.lang.Enum<F>>Meta-data of theManagedObjectSource.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ManagedObjectDependencyMetaData<O>[]getDependencyMetaData()Obtains the list ofManagedObjectDependencyMetaDatainstances should thisManagedObjectSourceprovide aCoordinatingManagedObject.ManagedObjectExecutionMetaData[]getExecutionMetaData()Obtains the list ofManagedObjectExecutionMetaDatainstances should theManagedObjectSourcerequireExecutionStrategy.ManagedObjectExtensionMetaData<?>[]getExtensionInterfacesMetaData()Obtains the meta-data regarding the extension interfaces that thisManagedObjectimplements.ManagedObjectFlowMetaData<F>[]getFlowMetaData()Obtains the list ofManagedObjectFlowMetaDatainstances should thisManagedObjectSourcerequire instigating aFlow.java.lang.Class<? extends ManagedObject>getManagedObjectClass()java.lang.Class<?>getObjectClass()Obtains theClassof the object returned fromManagedObject.getObject().
-
-
-
Method Detail
-
getManagedObjectClass
java.lang.Class<? extends ManagedObject> getManagedObjectClass()
Obtains the
Classof theManagedObjectinstances from theManagedObjectSource.This is to enable coupled configuration rather than specifying in a possibly unrelated configuration file.
Note this does not prevent the configuration passed to the
ManagedObjectSource.init(ManagedObjectSourceContext)method to specify this.Classmust however be the same given the same configuration.- Returns:
Classof theManagedObject.
-
getObjectClass
java.lang.Class<?> getObjectClass()
Obtains the
Classof the object returned fromManagedObject.getObject().This is to enable coupled configuration rather than specifying in a possibly unrelated configuration file.
Note this does not prevent the configuration passed to the
ManagedObjectSource.init(ManagedObjectSourceContext)method to specify this.Classmust however be the same given the same configuration.- Returns:
- The
Classof the object being managed by theManagedObject.
-
getDependencyMetaData
ManagedObjectDependencyMetaData<O>[] getDependencyMetaData()
Obtains the list ofManagedObjectDependencyMetaDatainstances should thisManagedObjectSourceprovide aCoordinatingManagedObject.- Returns:
- Meta-data of the required dependencies for this
ManagedObjectSource.
-
getFlowMetaData
ManagedObjectFlowMetaData<F>[] getFlowMetaData()
Obtains the list ofManagedObjectFlowMetaDatainstances should thisManagedObjectSourcerequire instigating aFlow.- Returns:
- Meta-data of
Flowinstances instigated by thisManagedObjectSource.
-
getExecutionMetaData
ManagedObjectExecutionMetaData[] getExecutionMetaData()
Obtains the list ofManagedObjectExecutionMetaDatainstances should theManagedObjectSourcerequireExecutionStrategy.- Returns:
- Meta-data of
ExecutionStrategyinstances required by thisManagedObjectSource.
-
getExtensionInterfacesMetaData
ManagedObjectExtensionMetaData<?>[] getExtensionInterfacesMetaData()
Obtains the meta-data regarding the extension interfaces that thisManagedObjectimplements.- Returns:
- Meta-data regarding the extension interfaces that this
ManagedObjectimplements.
-
-