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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String[]
getAdditionalProfiles()
Obtains the additional profiles.ManagedObjectPoolConfiguration
getManagedObjectPoolConfiguration()
Obtains theManagedObjectPoolConfiguration
for thisManagedObjectSource
.MS
getManagedObjectSource()
Obtains theManagedObjectSource
instance to use.java.lang.Class<MS>
getManagedObjectSourceClass()
Obtains theClass
of theManagedObjectSource
.java.lang.String
getManagedObjectSourceName()
Obtains the name of thisManagedObjectSource
.ManagingOfficeConfiguration<F>
getManagingOfficeConfiguration()
Obtains theManagingOfficeConfiguration
detailing theOffice
responsible for managing thisManagedObjectSource
.SourceProperties
getProperties()
Obtains theSourceProperties
to initialise theManagedObjectSource
.long
getTimeout()
Obtains the timeout to: to source theManagedObject
have asynchronous operations on theManagedObject
complete
-
-
-
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
.
-
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
-
-