| java.lang.Object org.objectweb.jonas.resource.Rar
Rar | public class Rar (Code) | | Rar object
author: Eric Hardesty |
Constructor Summary | |
public | Rar() - Get the loggers
- Get the global jndi context
- Get the list of the resource adapters. | public | Rar(Context ctx, String jDom, String jServ, WorkManager wrkMgr, ResourceBootstrapContext btCtx) - Get the loggers
- Get the global jndi context
- Get the list of the resource adapters. |
Method Summary | |
public static void | addDefaultAS(String jndiName) | public static String | buildModuleName(String rarFileName, String appName) | public void | configureAS(ActivationSpec as, List acp, List jacp, String jndiname, String ejbName) | public Object | createFactory(String jndiName, String rarObjectName, int factoryOffset, String factoryType, ConnectorDesc conn, JonasConnectorDesc jConn) | public Object | getConfigObj(String jndiName) | public ConnectorDesc | getConnectorDesc() | public static ConnectorDesc | getConnectorDesc(String jndiName) | public static String | getDefaultAS() | public Object | getFactory(String jndiname) | public String | getInterface(String jndiname) | public Vector | getJndinames() | public JonasConnectorDesc | getJonasConnectorDesc() | public static JonasConnectorDesc | getJonasConnectorDesc(String jndiName) | public static Rar | getRar(String jndiName) | public ResourceAdapter | getResourceAdapter() | public static Object | getResourceObject(String jndiName) | public String | getXmlContent() | public Context | processRar() Process the resource adapter. | public static void | removeDefaultAS(String jndiName) | public void | setConnectorDesc(ConnectorDesc cd) | public void | setJonasConnectorDesc(JonasConnectorDesc jcd) | public void | unRegister() Unregister the resource adapter. |
DEF_EXEC_TIME | final public static int DEF_EXEC_TIME(Code) | | |
DEF_WRK_THREADS | final public static int DEF_WRK_THREADS(Code) | | |
LNK_RAR_FILENAME | final public static String LNK_RAR_FILENAME(Code) | | |
fileName2RA | public static Hashtable fileName2RA(Code) | | Hashtable mapping a filename to an RAR object
|
jndiName2RA | public static Hashtable jndiName2RA(Code) | | These hashtables associate an RAR with other objects
|
oRegistry | Registry oRegistry(Code) | | |
Rar | public Rar()(Code) | | - Get the loggers
- Get the global jndi context
- Get the list of the resource adapters. The list is reachable in the
- context parameter under the name RESOURCE_LIST.
- Get the transaction manager into the jndi
- Set the XML validation property
|
Rar | public Rar(Context ctx, String jDom, String jServ, WorkManager wrkMgr, ResourceBootstrapContext btCtx)(Code) | | - Get the loggers
- Get the global jndi context
- Get the list of the resource adapters. The list is reachable in the
- context parameter under the name RESOURCE_LIST.
- Get the transaction manager into the jndi
- Set the XML validation property
|
addDefaultAS | public static void addDefaultAS(String jndiName)(Code) | | add a default AS to the list, the first one deployed is the default
if others are added then they will become default if this one is undeployed
Parameters: jndiName - jndi name to add |
buildModuleName | public static String buildModuleName(String rarFileName, String appName)(Code) | | Parameters: rarFileName - String of rar file Parameters: appName - the name of the application String of module name |
createFactory | public Object createFactory(String jndiName, String rarObjectName, int factoryOffset, String factoryType, ConnectorDesc conn, JonasConnectorDesc jConn) throws Exception(Code) | | Create the factory specified
Parameters: jndiName - name to bind the factory Parameters: rarObjectName - unique name to match rar Parameters: factoryOffset - factory offset in the to create Parameters: factoryType - factory type to create Parameters: conn - ConnectionDesc object to use for creation Parameters: jConn - JonasConnectionDesc object to use for creation Object factory created throws: Exception - if an error occurs |
getConfigObj | public Object getConfigObj(String jndiName)(Code) | | get the ConfigObj matching the jndiname specified
Parameters: jndiName - String of jndi name Object ConfigObj associated with the jndi name |
getConnectorDesc | public ConnectorDesc getConnectorDesc()(Code) | | get the ResourceAdapter Connector object for this Rar
ConnectorDesc associated resource adapter connector object |
getConnectorDesc | public static ConnectorDesc getConnectorDesc(String jndiName)(Code) | | get the RAR ConnectorDesc object matching the jndiname
Parameters: jndiName - the jndiname to lookup ConnectorDesc matching ConnectorDesc |
getDefaultAS | public static String getDefaultAS()(Code) | | return the current default ActivationSpec
String default ActivationSpec name |
getJonasConnectorDesc | public JonasConnectorDesc getJonasConnectorDesc()(Code) | | get the JonasConnector object for this Rar
JonasConnectorDesc associated JonasConnector |
getJonasConnectorDesc | public static JonasConnectorDesc getJonasConnectorDesc(String jndiName)(Code) | | get the RAR JonasConnectorDesc object matching the jndiname
Parameters: jndiName - the jndiname to lookup JonasConnectorDesc matching JonasConnectorDesc |
getRar | public static Rar getRar(String jndiName)(Code) | | get the Rar matching the jndiNname
will be used in EJB container to deploy an MDB
Parameters: jndiName - jndi name to lookup Rar Rar object for the specified jndi name |
getResourceObject | public static Object getResourceObject(String jndiName)(Code) | | get the ResourceAdapter matching the jndiName
will be used in ResourceObjectJNDIHandler class at lookup time
Parameters: jndiName - to lookup ResourceObject Object resourceObject corresponding to jndiName |
getXmlContent | public String getXmlContent()(Code) | | get the Xml Content for this Rar
String Xml content of this RAR |
processRar | public Context processRar() throws Exception(Code) | | Process the resource adapter. This Resource Adapter is configured via
xml files in the rar file
|
removeDefaultAS | public static void removeDefaultAS(String jndiName)(Code) | | remove the specified jndiName from the default AS list
Parameters: jndiName - jndi name to remove |
setConnectorDesc | public void setConnectorDesc(ConnectorDesc cd)(Code) | | set the ResourceAdapter Connector object for this Rar
Parameters: cd - ConnectorDesc to associate with |
setJonasConnectorDesc | public void setJonasConnectorDesc(JonasConnectorDesc jcd)(Code) | | set the JonasConnector object for this Rar
Parameters: jcd - JonasConnectorDesc to associate with |
|
|