net.officefloor.frame.spi.managedobject.source.impl
Interface AbstractAsyncManagedObjectSource.MetaDataContext<D extends Enum<D>,F extends Enum<F>>

Enclosing class:
AbstractAsyncManagedObjectSource<D extends Enum<D>,F extends Enum<F>>

public static interface AbstractAsyncManagedObjectSource.MetaDataContext<D extends Enum<D>,F extends Enum<F>>

Context for the ManagedObjectSource.getMetaData().


Method Summary
 AbstractAsyncManagedObjectSource.DependencyLabeller addDependency(Class<?> dependencyType)
          Adds a required dependency identified by an index into the order the dependency was added.
 AbstractAsyncManagedObjectSource.DependencyLabeller addDependency(D key, Class<?> dependencyType)
          Adds a required dependency identified by the key.
 AbstractAsyncManagedObjectSource.Labeller addFlow(Class<?> argumentType)
          Adds a required JobSequence identified by an index into the order the JobSequence was added.
 AbstractAsyncManagedObjectSource.Labeller addFlow(F key, Class<?> argumentType)
          Adds a required JobSequence identified by the key.
<I> void
addManagedObjectExtensionInterface(Class<I> interfaceType, ExtensionInterfaceFactory<I> extensionInterfaceFactory)
          Adds a ManagedObjectExtensionInterfaceMetaData instance.
 ManagedObjectSourceContext<F> getManagedObjectSourceContext()
          Obtains the ManagedObjectSourceContext.
 void setManagedObjectClass(Class<? extends ManagedObject> managedObjectClass)
          Specifies the type of the ManagedObject.
 void setObjectClass(Class<?> objectClass)
          Specifies the type of the object returned from the ManagedObject.
 

Method Detail

getManagedObjectSourceContext

ManagedObjectSourceContext<F> getManagedObjectSourceContext()
Obtains the ManagedObjectSourceContext.

Returns:
ManagedObjectSourceContext.

setObjectClass

void setObjectClass(Class<?> objectClass)
Specifies the type of the object returned from the ManagedObject.

Parameters:
objectClass - Object type.

setManagedObjectClass

void setManagedObjectClass(Class<? extends ManagedObject> managedObjectClass)
Specifies the type of the ManagedObject.

Parameters:
managedObjectClass - ManagedObject type.

addDependency

AbstractAsyncManagedObjectSource.DependencyLabeller addDependency(D key,
                                                                  Class<?> dependencyType)
Adds a required dependency identified by the key.

Parameters:
key - Enum to identify the dependency.
dependencyType - Type the dependency is required to extend/implement.
Returns:
AbstractAsyncManagedObjectSource.DependencyLabeller to possibly label the required dependency.

addDependency

AbstractAsyncManagedObjectSource.DependencyLabeller addDependency(Class<?> dependencyType)
Adds a required dependency identified by an index into the order the dependency was added.

Parameters:
dependencyType - Type the dependency is required to extend/implement.
Returns:
AbstractAsyncManagedObjectSource.DependencyLabeller to possibly label the required dependency.

addFlow

AbstractAsyncManagedObjectSource.Labeller addFlow(F key,
                                                  Class<?> argumentType)
Adds a required JobSequence identified by the key.

Parameters:
key - Enum to identify the JobSequence.
argumentType - Type of argument passed to the JobSequence.
Returns:
AbstractAsyncManagedObjectSource.DependencyLabeller to possibly label the JobSequence.

addFlow

AbstractAsyncManagedObjectSource.Labeller addFlow(Class<?> argumentType)
Adds a required JobSequence identified by an index into the order the JobSequence was added.

Parameters:
argumentType - Type of argument passed to the JobSequence.
Returns:
AbstractAsyncManagedObjectSource.DependencyLabeller to possibly label the JobSequence.

addManagedObjectExtensionInterface

<I> void addManagedObjectExtensionInterface(Class<I> interfaceType,
                                            ExtensionInterfaceFactory<I> extensionInterfaceFactory)
Adds a ManagedObjectExtensionInterfaceMetaData instance.

Parameters:
interfaceType - Type of the extension interface supported by the ManagedObject instances.
extensionInterfaceFactory - ExtensionInterfaceFactory.


Copyright © 2005-2013. All Rights Reserved.