public class SamplingManager
extends java.lang.Object
SampDetail,
SampObj| Modifier and Type | Method and Description |
|---|---|
java.lang.Boolean |
checkObj(SampDetail managerDef)
Check for a sampling detail, and return true if it a sampling object
has been created for it.
|
protected void |
finalize()
Finalizes the usage of all Components taken over by the Manager
|
static SamplingManager |
getInstance()
Returns the last sampling manager referenced by
getInstance(String). |
static SamplingManager |
getInstance(java.lang.String managerName)
Singleton creator.
|
SampObj |
getSamplingObj(SampDetail managerDef)
Get or create a new Sampling object.
|
Samp |
getSampReference()
Gets a reference to the sampling manager and returns it
As of ACS-7.0 the following call throws AcsJContainerServicesEx instead of returnin null
|
public static SamplingManager getInstance(java.lang.String managerName) throws SamplingManagerException
managerName - The sampling managercomponentSamplingManagerException - If something goes wrong in the creation of the singletonpublic static SamplingManager getInstance()
getInstance(String).public Samp getSampReference()
throws SamplingManagerException
SamplingManagerExceptionpublic SampObj getSamplingObj(SampDetail managerDef) throws CouldntAccessComponentEx, TypeNotSupportedEx, AcsJContainerServicesEx, CouldntAccessPropertyEx, CORBAProblemEx, CouldntCreateObjectEx, MemoryFaultEx, OutOfBoundsEx, SamplingManagerException
managerDef - Sampling detail requested.CouldntAccessComponentExTypeNotSupportedExAcsJContainerServicesExCouldntAccessPropertyExCORBAProblemExCouldntCreateObjectExMemoryFaultExOutOfBoundsExSamplingManagerExceptionpublic java.lang.Boolean checkObj(SampDetail managerDef)
managerDef - ampling detail requested.protected void finalize()
finalize in class java.lang.Object