Interface ManagedObjectSource<O extends java.lang.Enum<O>,F extends java.lang.Enum<F>>
- 
- All Known Implementing Classes:
- AbstractAsyncManagedObjectSource,- AbstractHttpServerImplementationTestCase.CancelConnectionManagedObjectSource,- AbstractJdbcManagedObjectSource,- AbstractManagedObjectSource,- AccessControlManagedObjectSource,- ApplicationContextManagedObjectSource,- AuthenticationContextManagedObjectSource,- AuthenticationManagedObjectSource,- ClassManagedObjectSource,- ConnectionManagedObjectSource,- CosmosAsyncClientManagedObjectSource,- CosmosAsyncDatabaseManagedObjectSource,- CosmosAsyncEntitiesManagedObjectSource,- CosmosClientManagedObjectSource,- CosmosDatabaseManagedObjectSource,- CosmosEntitiesManagedObjectSource,- DataNucleusJpaManagedObjectSource,- DataSourceManagedObjectSource,- DefaultHttpAccessControlManagedObjectSource,- DefaultHttpAuthenticationManagedObjectSource,- DynamoDbMapperManagedObjectSource,- FlatXmlUnmarshallerManagedObjectSource,- FlywayManagedObjectSource,- FlywayMigrateManagedObjectSource,- GoogleIdTokenVerifierManagedObjectSource,- H2DataSourceManagedObjectSource,- H2ReadOnlyConnectionManagedObjectSource,- HibernateJpaManagedObjectSource,- HttpAccessControlManagedObjectSource,- HttpApplicationObjectManagedObjectSource,- HttpApplicationStateManagedObjectSource,- HttpArgumentManagedObjectSource,- HttpAuthenticationManagedObjectSource,- HttpChallengeContextManagedObjectSource,- HttpObjectManagedObjectSource,- HttpRequestObjectManagedObjectSource,- HttpRequestStateManagedObjectSource,- HttpResourceCacheManagedObjectSource,- HttpResourceStoreManagedObjectSource,- HttpSecurityExecuteManagedObjectSource,- HttpSecurityManagedObjectAdapterSource,- HttpServerSocketManagedObjectSource,- HttpSessionManagedObjectSource,- HttpSessionObjectManagedObjectSource,- InMemoryJwtAuthorityRepositoryManagedObjectSource,- InMemoryJwtAuthorityRepositoryManagedObjectSource,- JndiLdapManagedObjectSource,- JpaManagedObjectSource,- JwtAuthorityManagedObjectSource,- JwtClaimsManagedObjectSource,- ManagedObjectLoaderUtil.CollectMetaDataContextManagedObjectSource,- MockCredentialStoreManagedObjectSource,- MockManagedObjectSource,- ObjectResponseManagedObjectSource,- PasswordFileManagedObjectSource,- PayPalHttpClientManagedObjectSource,- PostgreSqlDataSourceManagedObjectSource,- PostgreSqlReadOnlyConnectionManagedObjectSource,- R2dbcManagedObjectSource,- ReadOnlyConnectionManagedObjectSource,- ServletServicerManagedObjectSource,- Singleton,- SpringBeanManagedObjectSource,- TestManagedObject.TestManagedObjectSource,- TreeXmlMarshallerManagedObjectSource,- TreeXmlUnmarshallerManagedObjectSource,- VariableManagedObjectSource,- WebClientManagedObjectSource
 
 public interface ManagedObjectSource<O extends java.lang.Enum<O>,F extends java.lang.Enum<F>>Source to obtain a particular type of ManagedObject.Implemented by the ManagedObjectprovider.- Author:
- Daniel Sagenschneider
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description ManagedObjectSourceSpecificationgetSpecification()Obtains the specification for this.ManagedObjectSourceMetaData<O,F>init(ManagedObjectSourceContext<F> context)Initialises theManagedObjectSource.voidsourceManagedObject(ManagedObjectUser user)Sources aManagedObjectfrom thisManagedObjectSource.voidstart(ManagedObjectExecuteContext<F> context)Called once afterinit(ManagedObjectSourceContext)to indicate thisManagedObjectSourceshould start execution.voidstop()Called to notify that theOfficeFlooris being closed.
 
- 
- 
- 
Method Detail- 
getSpecificationManagedObjectSourceSpecification getSpecification() Obtains the specification for this. This will be called before any other methods, therefore this method must be able to return the specification immediately after a default constructor instantiation. - Returns:
- Specification of this.
 
 - 
initManagedObjectSourceMetaData<O,F> init(ManagedObjectSourceContext<F> context) throws java.lang.Exception Initialises theManagedObjectSource.- Parameters:
- context-- ManagedObjectSourceContextto use in initialising.
- Returns:
- Meta-data to describe this.
- Throws:
- java.lang.Exception- Should the- ManagedObjectSourcefail to configure itself from the input properties.
 
 - 
startvoid start(ManagedObjectExecuteContext<F> context) throws java.lang.Exception Called once after init(ManagedObjectSourceContext)to indicate thisManagedObjectSourceshould start execution.On invocation of this method, ProcessStateinstances may be invoked via theManagedObjectExecuteContext.- Parameters:
- context-- ManagedObjectExecuteContextto use in starting this- ManagedObjectSource.
- Throws:
- java.lang.Exception- Should the- ManagedObjectSourcefail to start execution.
 
 - 
sourceManagedObjectvoid sourceManagedObject(ManagedObjectUser user) Sources aManagedObjectfrom thisManagedObjectSource.- Parameters:
- user-- ManagedObjectUserinterested in using the- ManagedObject.
 
 - 
stopvoid stop() Called to notify that the OfficeFlooris being closed.On return from this method, no further ProcessStateinstances may be invoked.
 
- 
 
-