- All Known Implementing Classes:
MockManagedObjectSourceMetaData
ManagedObjectSource.- Author:
- Daniel Sagenschneider
-
Method Summary
Modifier and TypeMethodDescriptionObtains the list ofManagedObjectDependencyMetaDatainstances should thisManagedObjectSourceprovide aCoordinatingManagedObject.Obtains the list ofManagedObjectExecutionMetaDatainstances should theManagedObjectSourcerequireExecutionStrategy.Obtains the meta-data regarding the extension interfaces that thisManagedObjectimplements.Obtains the list ofManagedObjectFlowMetaDatainstances should thisManagedObjectSourcerequire instigating aFlow.Class<? extends ManagedObject>Class<?>Obtains theClassof the object returned fromManagedObject.getObject().
-
Method Details
-
getManagedObjectClass
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
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.
-