|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.officefloor.frame.spi.managedobject.source.impl.AbstractAsyncManagedObjectSource<D,F>
net.officefloor.frame.spi.managedobject.source.impl.AbstractManagedObjectSource<None,None>
net.officefloor.autowire.impl.SingletonManagedObjectSource
public class SingletonManagedObjectSource
Provides a singleton object.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class net.officefloor.frame.spi.managedobject.source.impl.AbstractAsyncManagedObjectSource |
|---|
AbstractAsyncManagedObjectSource.DependencyLabeller, AbstractAsyncManagedObjectSource.Labeller, AbstractAsyncManagedObjectSource.MetaDataContext<D extends Enum<D>,F extends Enum<F>>, AbstractAsyncManagedObjectSource.SpecificationContext |
| Constructor Summary | |
|---|---|
SingletonManagedObjectSource(Object object)
Initiate. |
|
| Method Summary | |
|---|---|
Object |
createExtensionInterface(ManagedObject managedObject)
Creates the specific extension interface for the ManagedObject. |
protected ManagedObject |
getManagedObject()
Synchronously obtains the ManagedObject. |
Object |
getObject()
Obtains the object being managed. |
protected void |
loadMetaData(AbstractAsyncManagedObjectSource.MetaDataContext<None,None> context)
Overridden to load meta-data. |
protected void |
loadSpecification(AbstractAsyncManagedObjectSource.SpecificationContext context)
Overridden to load specifications. |
| Methods inherited from class net.officefloor.frame.spi.managedobject.source.impl.AbstractManagedObjectSource |
|---|
sourceManagedObject |
| Methods inherited from class net.officefloor.frame.spi.managedobject.source.impl.AbstractAsyncManagedObjectSource |
|---|
getMetaData, getSpecification, init, start, stop |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SingletonManagedObjectSource(Object object)
object - Singleton object.| Method Detail |
|---|
protected void loadSpecification(AbstractAsyncManagedObjectSource.SpecificationContext context)
AbstractAsyncManagedObjectSource
loadSpecification in class AbstractAsyncManagedObjectSource<None,None>context - Specifications.
protected void loadMetaData(AbstractAsyncManagedObjectSource.MetaDataContext<None,None> context)
throws Exception
AbstractAsyncManagedObjectSource
loadMetaData in class AbstractAsyncManagedObjectSource<None,None>context - Meta-data.
Exception - If fails to load the meta-data.protected ManagedObject getManagedObject()
AbstractManagedObjectSourceManagedObject.
getManagedObject in class AbstractManagedObjectSource<None,None>ManagedObject.public Object getObject()
ManagedObject
getObject in interface ManagedObjectpublic Object createExtensionInterface(ManagedObject managedObject)
ExtensionInterfaceFactoryManagedObject.
createExtensionInterface in interface ExtensionInterfaceFactory<Object>managedObject - ManagedObject that is have the extension interface
created for it.
ManagedObject.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||