
Public Member Functions | |
| CDBDALPlug () | |
| String | getSupportedLibrary () |
| void | internalConnect (Connectable c) throws RemoteException |
| void | internalDisconnect (Connectable c) throws RemoteException |
| RemoteInfo | createRemoteInfo (String authority, String abeanName) |
| ComponentDescriptor | getComponentDescriptor () |
| void | initialize (ComponentManager manager, Object state, ComponentDescriptor cdesc) throws IllegalComponentStateException, ComponentInitializationException |
| String[][] | getConfigurationDescriptions () |
| String | getConfigurationName () |
| void | setConfiguration (AbeansProperties props) throws InitializationException |
Static Public Attributes | |
| final String | PLUG_NAME = "CDBDAL" |
Protected Member Functions | |
| void | resumeInternal () |
| void | suspendInternal () |
Private Member Functions | |
| void | internalDatabaseConnect (Connectable c) throws RemoteException |
| void | internalDatabaseDisconnect (Connectable c) throws RemoteException |
Private Attributes | |
| boolean | remoteDAO = true |
| String | defaultDAL = null |
| DatabaseProxyImpl | db = null |
| Map | dalCache = new NameValueList() |
| ORB | orb = null |
| ChangeListener | changeListener = null |
| final transient ComponentDescriptor | descriptor |
Static Private Attributes | |
| final String | CDBDAL_RESOURCE_LOC = PLUG_NAME+"Plug" |
| final String | CDBDAL_PREFIX = "DAL" |
| final String | CDBDAO_PREFIX = "DAO" |
| final String | CDBDAL_DEFAULT_REFERENCE = CDBDAL_PREFIX + ".defaultReference" |
| final String | DEFAULT_REFERENCE = "corbaloc::" + ACSPorts.getIP() + ":" + ACSPorts.getCDBPort() + "/CDB" |
| final String | CDBDAO_REMOTE = CDBDAO_PREFIX + ".remote" |
abeans.pluggable.Plug that starts up and shuts down the CDBDAL 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. |
|
||||||||||||
|
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.
|
|
|
Returns
|
|
||||||||||||||||
|
Initializes this plug by creating a new instance of the database proxy implementation.
|
|
|
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
|
|
|
Delegates to the database proxy implementation. Install CORBA Service (DefaultCORBAService).
|
|
|
Interprets the configuration delivered by Abeans configuration service.
|
|
|
Delegates to the database proxy implementation.
|
|
|
The constant denoting the name of default DAL reference property key. |
|
|
The constant denoting the prefix of the DAL configuration keys. |
|
|
The constant denoting the name of the configuration resource (file). |
|
|
The constant denoting the prefix of the DAO configuration keys. |
|
|
The constant denoting the name of default DAO remote switch property key. |
|
|
Listener for CDB change. |
|
|
CORBA del reference cache. |
|
|
Reference to the database proxy implementation. |
|
|
The constant denoting the default DAL reference (if non is set). |
|
|
Default DAL CORBA reference (if not authority is specified). |
|
|
Initial value: Component description of this plug. |
|
|
CORBA Object Request Broker (ORB) reference. |
|
|
The constant denoting the name of this plug. |
|
|
Switch to turn remote DAO on. |
1.3.8