Class AbstractManagedObjectSource<O extends java.lang.Enum<O>,F extends java.lang.Enum<F>>
- java.lang.Object
-
- net.officefloor.frame.api.managedobject.source.impl.AbstractAsyncManagedObjectSource<O,F>
-
- net.officefloor.frame.api.managedobject.source.impl.AbstractManagedObjectSource<O,F>
-
- All Implemented Interfaces:
ManagedObjectSource<O,F>
- Direct Known Subclasses:
AbstractHttpServerImplementationTestCase.CancelConnectionManagedObjectSource
,AbstractJdbcManagedObjectSource
,AccessControlManagedObjectSource
,ApplicationContextManagedObjectSource
,AuthenticationContextManagedObjectSource
,AuthenticationManagedObjectSource
,ClassManagedObjectSource
,ConnectionManagedObjectSource
,CosmosAsyncClientManagedObjectSource
,CosmosAsyncDatabaseManagedObjectSource
,CosmosAsyncEntitiesManagedObjectSource
,CosmosClientManagedObjectSource
,CosmosDatabaseManagedObjectSource
,CosmosEntitiesManagedObjectSource
,DefaultHttpAccessControlManagedObjectSource
,DefaultHttpAuthenticationManagedObjectSource
,DynamoDbMapperManagedObjectSource
,FlatXmlUnmarshallerManagedObjectSource
,FlywayManagedObjectSource
,FlywayMigrateManagedObjectSource
,GoogleIdTokenVerifierManagedObjectSource
,HttpAccessControlManagedObjectSource
,HttpApplicationObjectManagedObjectSource
,HttpApplicationStateManagedObjectSource
,HttpArgumentManagedObjectSource
,HttpAuthenticationManagedObjectSource
,HttpChallengeContextManagedObjectSource
,HttpObjectManagedObjectSource
,HttpRequestObjectManagedObjectSource
,HttpRequestStateManagedObjectSource
,HttpResourceCacheManagedObjectSource
,HttpResourceStoreManagedObjectSource
,HttpSecurityExecuteManagedObjectSource
,HttpServerSocketManagedObjectSource
,HttpSessionManagedObjectSource
,HttpSessionObjectManagedObjectSource
,InMemoryJwtAuthorityRepositoryManagedObjectSource
,InMemoryJwtAuthorityRepositoryManagedObjectSource
,JndiLdapManagedObjectSource
,JpaManagedObjectSource
,JwtAuthorityManagedObjectSource
,JwtClaimsManagedObjectSource
,ManagedObjectLoaderUtil.CollectMetaDataContextManagedObjectSource
,MockCredentialStoreManagedObjectSource
,ObjectResponseManagedObjectSource
,PasswordFileManagedObjectSource
,PayPalHttpClientManagedObjectSource
,R2dbcManagedObjectSource
,ServletServicerManagedObjectSource
,Singleton
,SpringBeanManagedObjectSource
,TreeXmlMarshallerManagedObjectSource
,TreeXmlUnmarshallerManagedObjectSource
,VariableManagedObjectSource
,WebClientManagedObjectSource
public abstract class AbstractManagedObjectSource<O extends java.lang.Enum<O>,F extends java.lang.Enum<F>> extends AbstractAsyncManagedObjectSource<O,F>
Abstract
ManagedObjectSource
that allows to synchronously source theManagedObject
.For asynchronous sourcing of a
ManagedObject
useAbstractAsyncManagedObjectSource
.- Author:
- Daniel Sagenschneider
- See Also:
AbstractAsyncManagedObjectSource
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.officefloor.frame.api.managedobject.source.impl.AbstractAsyncManagedObjectSource
AbstractAsyncManagedObjectSource.DependencyLabeller<K extends java.lang.Enum<K>>, AbstractAsyncManagedObjectSource.ExecutionLabeller, AbstractAsyncManagedObjectSource.Labeller<K extends java.lang.Enum<K>>, AbstractAsyncManagedObjectSource.MetaDataContext<O extends java.lang.Enum<O>,F extends java.lang.Enum<F>>, AbstractAsyncManagedObjectSource.SpecificationContext
-
-
Constructor Summary
Constructors Constructor Description AbstractManagedObjectSource()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract ManagedObject
getManagedObject()
Synchronously obtains theManagedObject
.void
sourceManagedObject(ManagedObjectUser user)
Sources aManagedObject
from thisManagedObjectSource
.-
Methods inherited from class net.officefloor.frame.api.managedobject.source.impl.AbstractAsyncManagedObjectSource
getSpecification, init, loadMetaData, loadSpecification, start, stop
-
-
-
-
Method Detail
-
sourceManagedObject
public void sourceManagedObject(ManagedObjectUser user)
Description copied from interface:ManagedObjectSource
Sources aManagedObject
from thisManagedObjectSource
.- Parameters:
user
-ManagedObjectUser
interested in using theManagedObject
.
-
getManagedObject
protected abstract ManagedObject getManagedObject() throws java.lang.Throwable
Synchronously obtains theManagedObject
.- Returns:
ManagedObject
.- Throws:
java.lang.Throwable
- If fails to obtain theManagedObject
.
-
-