Interface ManagedObjectSourceConfiguration<F extends Enum<F>,MS extends ManagedObjectSource<?,F>>
- All Known Implementing Classes:
ManagedObjectBuilderImpl
public interface ManagedObjectSourceConfiguration<F extends Enum<F>,MS extends ManagedObjectSource<?,F>>
Configuration of a
ManagedObjectSource.- Author:
- Daniel Sagenschneider
-
Method Summary
Modifier and TypeMethodDescriptionString[]Obtains the additional profiles.Obtains theManagedObjectFunctionEnhancerinstances.Obtains theManagedObjectPoolConfigurationfor thisManagedObjectSource.Obtains theManagedObjectSourceinstance to use.Obtains theClassof theManagedObjectSource.Obtains the name of thisManagedObjectSource.Obtains theManagingOfficeConfigurationdetailing theOfficeresponsible for managing thisManagedObjectSource.Obtains theSourcePropertiesto initialise theManagedObjectSource.String[]Obtains the names of theManagedObjectSourceto start up after.String[]Obtains the names of theManagedObjectSourceto start up before.longObtains the timeout to: to source theManagedObjecthave asynchronous operations on theManagedObjectcomplete
-
Method Details
-
getManagedObjectSourceName
String getManagedObjectSourceName()Obtains the name of thisManagedObjectSource.- Returns:
- Name of this
ManagedObjectSource.
-
getManagedObjectSource
MS getManagedObjectSource()Obtains theManagedObjectSourceinstance to use.- Returns:
ManagedObjectSourceinstance to use. This may benulland therefore thegetManagedObjectSourceClass()should be used to obtain theManagedObjectSource.
-
getManagedObjectSourceClass
Obtains theClassof theManagedObjectSource.- Returns:
Classof theManagedObjectSource. Will benullif aManagedObjectSourceinstance is configured.
-
getAdditionalProfiles
String[] getAdditionalProfiles()Obtains the additional profiles.- Returns:
- Additional profiles.
-
getProperties
SourceProperties getProperties()Obtains theSourcePropertiesto initialise theManagedObjectSource.- Returns:
SourcePropertiesto initialise theManagedObjectSource.
-
getManagedObjectFunctionEnhancers
ManagedObjectFunctionEnhancer[] getManagedObjectFunctionEnhancers()Obtains theManagedObjectFunctionEnhancerinstances.- Returns:
ManagedObjectFunctionEnhancerinstances.
-
getManagingOfficeConfiguration
ManagingOfficeConfiguration<F> getManagingOfficeConfiguration()Obtains theManagingOfficeConfigurationdetailing theOfficeresponsible for managing thisManagedObjectSource.- Returns:
ManagingOfficeConfiguration.
-
getManagedObjectPoolConfiguration
ManagedObjectPoolConfiguration getManagedObjectPoolConfiguration()Obtains theManagedObjectPoolConfigurationfor thisManagedObjectSource.- Returns:
ManagedObjectPoolConfigurationfor thisManagedObjectSourceornullif not to be pooled.
-
getTimeout
long getTimeout()Obtains the timeout to:- to source the
ManagedObject - have asynchronous operations on the
ManagedObjectcomplete
- Returns:
- Timeout.
- to source the
-
getStartupBefore
String[] getStartupBefore()Obtains the names of theManagedObjectSourceto start up before.- Returns:
- Names of the
ManagedObjectSourceto start up before.
-
getStartupAfter
String[] getStartupAfter()Obtains the names of theManagedObjectSourceto start up after.- Returns:
- Names of the
ManagedObjectSourceto start up after.
-