Public Member Functions | |
ACSPlug () | |
String | getSupportedLibrary () |
void | internalConnect (Connectable c) throws RemoteException |
void | updateRemoteDirectory () |
synchronized void | managerConnect (String managerReference) |
synchronized void | managerDisconnect () |
boolean | isConnected () |
void | internalDisconnect (Connectable c) throws RemoteException |
RemoteInfo | createRemoteInfo (String authority, String abeanName) |
ComponentDescriptor | getComponentDescriptor () |
void | initialize (ComponentManager manager, java.lang.Object state, ComponentDescriptor cdesc) throws IllegalComponentStateException, ComponentInitializationException |
String[][] | getConfigurationDescriptions () |
String | getConfigurationName () |
void | setConfiguration (AbeansProperties props) throws InitializationException |
void | destroy () |
String | getDefaultManagerReference () |
void | setDefaultManagerReference (String reference) |
Static Public Member Functions | |
String | IDtoClassName (String id, boolean proxyClass) |
Static Public Attributes | |
final String | PLUG_NAME = "ACS" |
Protected Member Functions | |
void | resumeInternal () |
void | suspendInternal () |
Package Attributes | |
Map | unavailableConnectables = new HashMap() |
Private Member Functions | |
ManagerClientInfoEntry | connectToManager (String corbaloc) throws RemoteException |
void | updateRemoteDirectory (String corbaloc, ManagerClientInfoEntry mcie) |
void | updateRemoteDirectoryLinkable (String connectableName, Connectable c) |
synchronized void | initialManagerConnect () |
void | internalDatabaseConnect (Connectable c) throws RemoteException |
void | releaseConnectable (Connectable c, String curl, boolean ignoreUnavailabeFlag) throws RemoteException |
void | internalDatabaseDisconnect (Connectable c) throws RemoteException |
void | managerDisconnect (String corbaloc) |
Proxy | instatiateComponentProxy (String curl, org.omg.CORBA.Object component, String compomentProxyClassName) throws AssertionFailed |
Private Attributes | |
String | defaultManagerReference = null |
boolean | initialManagerConnectDone = false |
DatabaseProxyImpl | db = null |
Map | managerCache = new NameValueList() |
ORB | orb = null |
Map | componentProxyReferenceCountMap = new HashMap() |
AbeansProperties | plugConfig = null |
RemoteDirectory | directory = null |
final transient ComponentDescriptor | descriptor |
Static Private Attributes | |
final String | ACS_RESOURCE_LOC = PLUG_NAME+"Plug" |
final String | MANAGER_PREFIX = "Manager" |
final String | DEFAULT_MANAGER_REFERENCE = MANAGER_PREFIX + ".defaultReference" |
final String | DEFAULT_REFERENCE = "corbaloc::" + ACSPorts.getIP() + ":" + ACSPorts.getManagerPort() + "/Manager" |
abeans.pluggable.Plug
that starts up and shuts down the ACS database and take care for configuration and policy management. The plug is managed automatically by the Abeans framework.
|
Creates a new instance of the plug. This constructor is automatically invoked by the Abeans framework. |
|
Connect to the Manager.
|
|
Creates the remote info by calculating the plug prefix (scheme) and the global namespace if present.
|
|
|
|
Returns the component descriptor for this class.
|
|
Returns the descriptors for this plug.
|
|
Returns name of the plug, the configuration name of this plug.
|
|
Return default Manager reference.
|
|
Returns
|
|
Converts CORBA ID to Abeans R3 model proxy class name. Example: IDL:cosylab.com/ACS/PowerSupply:1.0 -> com.cosylab.ACS.abeans.proxy.PowerSupplyProxy
|
|
Initializes this plug by creating a new instance of the database proxy implementation.
|
|
Connect to the default manager.
|
|
Instatiates a component proxy of given class name.
|
|
Performs the connect of the specified connectable. If the database engine from
|
|
Performs the connect of the specified database connectable.
|
|
Sets the proxy of the database connectable to
|
|
Sets the proxy of the connectable to
|
|
Return connection status, i.e. is connected to the default manager.
|
|
Reconnect to the default manager. |
|
Disconnect the manager.
|
|
Disconnect from to the default manager. |
|
Releases
|
|
Delegates to the database proxy implementation. Install CORBA Service (DefaultCORBAService).
|
|
Interprets the configuration delivered by Abeans configuration service.
|
|
Set default Manager reference.
|
|
Delegates to the database proxy implementation.
|
|
Queries manager for all components and updates remote directory.
|
|
Queries the default manager and updates remote directory. |
|
Updates remote directory for
|
|
The constant denoting the name of the configuration resource (file). |
|
Component reference count map. |
|
Reference to the database proxy implementation. |
|
The constant denoting the name of default DAL reference property key. |
|
The constant denoting the default DAL reference (if non is set). |
|
Manager CORBA reference (if not authority is specified). |
|
Initial value: Component description of this plug. |
|
ACS remote directory. |
|
Flag indicating if initial manager connection was done (has to be tried only once). |
|
The constant denoting the prefix of the MANAGER configuration keys. |
|
CORBA del reference cache. |
|
CORBA Object Request Broker (ORB) reference. |
|
The constant denoting the name of this plug. |
|
Properties of the plug. |
|
|