public class Client extends ComponentClient
m_logger, m_shutdownHook| Constructor and Description |
|---|
Client(java.util.logging.Logger logger,
java.lang.String managerLoc,
java.lang.String clientName)
The constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
cleanExit()
Release all the components before exiting
|
java.lang.String |
getDynamicComponent(ComponentSpec cs,
boolean markAsDefault)
Start a dynamic component
|
boolean |
hasFreeSlot()
Check if a free slot exists into the array
A free slot has a null value and, as the array is not ordered, may be
in every position of the array
|
boolean |
releaseComponent(java.lang.String url)
Release a component
The component is specified with its cURL
|
getContainerServices, initAlarmSystem, initRemoteLogging, registerShutdownHook, tearDown, tearDownAlarmSystempublic Client(java.util.logging.Logger logger,
java.lang.String managerLoc,
java.lang.String clientName)
throws java.lang.Exception
java.lang.Exceptionpublic boolean hasFreeSlot()
public java.lang.String getDynamicComponent(ComponentSpec cs,
boolean markAsDefault)
throws AcsJContainerServicesEx
cs - The component specification recordmarkAsDefault - marck the specified dynamic component ad defaultAcsJContainerServicesExpublic boolean releaseComponent(java.lang.String url)
url - The name of the componentpublic void cleanExit()