Public Member Functions | |
| Client (Logger logger, String managerLoc, String clientName) throws Exception | |
| boolean | hasFreeSlot () |
| String | getDynamicComponent (ComponentSpec cs, boolean markAsDefault) throws AcsJContainerServicesEx |
| boolean | releaseComponent (String url) |
| void | cleanExit () |
Package Attributes | |
| ACSComponent | m_components [] |
| String | m_cURLs [] |
Client demostrates how to activate and release dynamic components
| alma.demo.dyncomp.Client.Client | ( | Logger | logger, | |
| String | managerLoc, | |||
| String | clientName | |||
| ) | throws Exception |
The constructor
References alma.demo.dyncomp.Client.m_components, and alma.demo.dyncomp.Client.m_cURLs.
| void alma.demo.dyncomp.Client.cleanExit | ( | ) |
Release all the components before exiting
References alma.acs.component.client.ComponentClient.getContainerServices(), alma.demo.dyncomp.Client.m_components, and alma.demo.dyncomp.Client.m_cURLs.
| String alma.demo.dyncomp.Client.getDynamicComponent | ( | ComponentSpec | cs, | |
| boolean | markAsDefault | |||
| ) | throws AcsJContainerServicesEx |
Start a dynamic component
| cs | The component specification record | |
| markAsDefault | marck the specified dynamic component ad default |
References alma.acs.component.client.ComponentClient.getContainerServices(), alma.demo.dyncomp.Client.m_components, and alma.demo.dyncomp.Client.m_cURLs.
| boolean alma.demo.dyncomp.Client.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
References alma.demo.dyncomp.Client.m_components.
| boolean alma.demo.dyncomp.Client.releaseComponent | ( | String | url | ) |
Release a component The component is specified with its cURL
| url | The name of the component |
References alma.acs.component.client.ComponentClient.getContainerServices(), alma.demo.dyncomp.Client.m_components, and alma.demo.dyncomp.Client.m_cURLs.
Referenced by alma.demo.dyncomp.JDynAct.releaseComponent().
ACSComponent alma.demo.dyncomp.Client.m_components[] [package] |
String alma.demo.dyncomp.Client.m_cURLs[] [package] |
1.7.0