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 ofManagedObjectDependencyMetaData
instances should thisManagedObjectSource
provide aCoordinatingManagedObject
.ManagedObjectExecutionMetaData[]
getExecutionMetaData()
Obtains the list ofManagedObjectExecutionMetaData
instances should theManagedObjectSource
requireExecutionStrategy
.ManagedObjectExtensionMetaData<?>[]
getExtensionInterfacesMetaData()
Obtains the meta-data regarding the extension interfaces that thisManagedObject
implements.ManagedObjectFlowMetaData<F>[]
getFlowMetaData()
Obtains the list ofManagedObjectFlowMetaData
instances should thisManagedObjectSource
require instigating aFlow
.java.lang.Class<? extends ManagedObject>
getManagedObjectClass()
java.lang.Class<?>
getObjectClass()
Obtains theClass
of the object returned fromManagedObject.getObject()
.
-
-
-
Method Detail
-
getManagedObjectClass
java.lang.Class<? extends ManagedObject> getManagedObjectClass()
Obtains the
Class
of theManagedObject
instances 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.Class
must however be the same given the same configuration.- Returns:
Class
of theManagedObject
.
-
getObjectClass
java.lang.Class<?> getObjectClass()
Obtains the
Class
of 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.Class
must however be the same given the same configuration.- Returns:
- The
Class
of the object being managed by theManagedObject
.
-
getDependencyMetaData
ManagedObjectDependencyMetaData<O>[] getDependencyMetaData()
Obtains the list ofManagedObjectDependencyMetaData
instances should thisManagedObjectSource
provide aCoordinatingManagedObject
.- Returns:
- Meta-data of the required dependencies for this
ManagedObjectSource
.
-
getFlowMetaData
ManagedObjectFlowMetaData<F>[] getFlowMetaData()
Obtains the list ofManagedObjectFlowMetaData
instances should thisManagedObjectSource
require instigating aFlow
.- Returns:
- Meta-data of
Flow
instances instigated by thisManagedObjectSource
.
-
getExecutionMetaData
ManagedObjectExecutionMetaData[] getExecutionMetaData()
Obtains the list ofManagedObjectExecutionMetaData
instances should theManagedObjectSource
requireExecutionStrategy
.- Returns:
- Meta-data of
ExecutionStrategy
instances required by thisManagedObjectSource
.
-
getExtensionInterfacesMetaData
ManagedObjectExtensionMetaData<?>[] getExtensionInterfacesMetaData()
Obtains the meta-data regarding the extension interfaces that thisManagedObject
implements.- Returns:
- Meta-data regarding the extension interfaces that this
ManagedObject
implements.
-
-