Interface ManagedObjectSourceConfiguration<F extends java.lang.Enum<F>,MS extends ManagedObjectSource<?,F>>
-
- All Known Implementing Classes:
ManagedObjectBuilderImpl
public interface ManagedObjectSourceConfiguration<F extends java.lang.Enum<F>,MS extends ManagedObjectSource<?,F>>
Configuration of aManagedObjectSource
.- Author:
- Daniel Sagenschneider
-
-
Method Summary
-
-
-
Method Detail
-
getManagedObjectSourceName
java.lang.String getManagedObjectSourceName()
Obtains the name of thisManagedObjectSource
.- Returns:
- Name of this
ManagedObjectSource
.
-
getManagedObjectSource
MS getManagedObjectSource()
Obtains theManagedObjectSource
instance to use.- Returns:
ManagedObjectSource
instance to use. This may benull
and therefore thegetManagedObjectSourceClass()
should be used to obtain theManagedObjectSource
.
-
getManagedObjectSourceClass
java.lang.Class<MS> getManagedObjectSourceClass()
Obtains theClass
of theManagedObjectSource
.- Returns:
Class
of theManagedObjectSource
. Will benull
if aManagedObjectSource
instance is configured.
-
getAdditionalProfiles
java.lang.String[] getAdditionalProfiles()
Obtains the additional profiles.- Returns:
- Additional profiles.
-
getProperties
SourceProperties getProperties()
Obtains theSourceProperties
to initialise theManagedObjectSource
.- Returns:
SourceProperties
to initialise theManagedObjectSource
.
-
getManagedObjectFunctionEnhancers
ManagedObjectFunctionEnhancer[] getManagedObjectFunctionEnhancers()
Obtains theManagedObjectFunctionEnhancer
instances.- Returns:
ManagedObjectFunctionEnhancer
instances.
-
getManagingOfficeConfiguration
ManagingOfficeConfiguration<F> getManagingOfficeConfiguration()
Obtains theManagingOfficeConfiguration
detailing theOffice
responsible for managing thisManagedObjectSource
.- Returns:
ManagingOfficeConfiguration
.
-
getManagedObjectPoolConfiguration
ManagedObjectPoolConfiguration getManagedObjectPoolConfiguration()
Obtains theManagedObjectPoolConfiguration
for thisManagedObjectSource
.- Returns:
ManagedObjectPoolConfiguration
for thisManagedObjectSource
ornull
if not to be pooled.
-
getTimeout
long getTimeout()
Obtains the timeout to:- to source the
ManagedObject
- have asynchronous operations on the
ManagedObject
complete
- Returns:
- Timeout.
- to source the
-
getStartupBefore
java.lang.String[] getStartupBefore()
Obtains the names of theManagedObjectSource
to start up before.- Returns:
- Names of the
ManagedObjectSource
to start up before.
-
getStartupAfter
java.lang.String[] getStartupAfter()
Obtains the names of theManagedObjectSource
to start up after.- Returns:
- Names of the
ManagedObjectSource
to start up after.
-
-