| java.lang.Object org.objectweb.jonas.resource.ResourceUtility
ResourceUtility | public class ResourceUtility (Code) | | ResourceUtility class
author: Eric Hardesty author: Contributor(s): |
Method Summary | |
public ConfigPropertyDesc[] | buildConfigProperty(List raCfg, List jRaCfg1, List jRaCfg2) | public ConnectionManagerPoolParams | configurePoolParams(PoolParamsDesc pParams, JdbcConnParamsDesc jConnParams, ConnectionManagerPoolParams pool) | public ConnectionManager | createConnectionManager(String trans, TransactionManager tm, Logger logger, Logger poolLogger, String jndiName) | public String | getJcaMcfName(String jndiName) | public Object | getJonasXML(JonasConnectorDesc jonasConn, String id, int idOffset, String oType) | public Object | processMCF(ConnectorDesc conn, JonasConnectorDesc jonasConn, ConnectionManager cm, ClassLoader curLoader, String rarName, String mcfc, String jndiName, String logEnabled, String logTopic, ConfigPropertyDesc[] cfgRaJonas, ResourceAdapter resAdp, int idOff) | public void | processSetters(Class clsClass, Object clsObj, String rarFileName, ConfigPropertyDesc[] cProp) | public void | registerMBean(Referenceable cf, String jndiName, String rarName, String rarFileName, ConnectorDesc conn, JonasConnectorDesc jonasConn, String factType, int factOffset, JCAResource jcaResourceMBean, String jcaResourceName, String jDomain, String jServer, Context ictx, Properties prop, String description, ConnectionManagerImpl cm) |
JAO | final public static String JAO(Code) | | JOnAS Administrated Object
|
JAS | final public static String JAS(Code) | | JOnAS Activationspec
|
JCD | final public static String JCD(Code) | | JOnAS Connection Definition
|
ResourceUtility | public ResourceUtility()(Code) | | Default constructor
|
ResourceUtility | public ResourceUtility(MBeanServer mbeanServer, Registry oRegistry, Logger log, Logger sLog, Logger mLog)(Code) | | Constructor
Parameters: mbeanServer - MBeanServer object Parameters: oRegistry - Registry object Parameters: log - Logger main logger Parameters: sLog - Logger setter logger Parameters: mLog - Logger management logger |
buildConfigProperty | public ConfigPropertyDesc[] buildConfigProperty(List raCfg, List jRaCfg1, List jRaCfg2)(Code) | | Parameters: raCfg - List Parameters: jRaCfg1 - List Parameters: jRaCfg2 - List ConfigPropertyDesc array |
createConnectionManager | public ConnectionManager createConnectionManager(String trans, TransactionManager tm, Logger logger, Logger poolLogger, String jndiName) throws Exception(Code) | | Parameters: trans - String Parameters: tm - TransactionManager Parameters: logger - Logger Parameters: poolLogger - Logger Parameters: jndiName - String ConnectionManager throws: Exception - any exception |
getJcaMcfName | public String getJcaMcfName(String jndiName)(Code) | | Return the JCA Managed Connection Factory name
Parameters: jndiName - String of jndi name String of JCA Managed Connection Factory name |
getJonasXML | public Object getJonasXML(JonasConnectorDesc jonasConn, String id, int idOffset, String oType) throws Exception(Code) | | Return the parsed XML object relative to the section
Parameters: jonasConn - JonasConnectorDesc object Parameters: id - String id of the section Parameters: idOffset - int offset within the section Parameters: oType - String type of section Object of parsed XML object throws: Exception - if the element is out of bound |
processMCF | public Object processMCF(ConnectorDesc conn, JonasConnectorDesc jonasConn, ConnectionManager cm, ClassLoader curLoader, String rarName, String mcfc, String jndiName, String logEnabled, String logTopic, ConfigPropertyDesc[] cfgRaJonas, ResourceAdapter resAdp, int idOff) throws Exception(Code) | | Process the ManagedConnectionFactory object
Parameters: conn - ConnectorDesc Parameters: jonasConn - JonasConnectorDesc Parameters: cm - ConnectionManager Parameters: curLoader - ClassLoader Parameters: rarName - String Parameters: mcfc - String Parameters: jndiName - String Parameters: logEnabled - String Parameters: logTopic - String Parameters: cfgRaJonas - ConfigPropertyDesc array Parameters: resAdp - ResourceAdapter Parameters: idOff - int Object throws: Exception - any exception |
processSetters | public void processSetters(Class clsClass, Object clsObj, String rarFileName, ConfigPropertyDesc[] cProp) throws Exception(Code) | | Parameters: clsClass - Class Parameters: clsObj - Object Parameters: rarFileName - String Parameters: cProp - ConfigPropertyDesc array throws: Exception - any exception |
registerMBean | public void registerMBean(Referenceable cf, String jndiName, String rarName, String rarFileName, ConnectorDesc conn, JonasConnectorDesc jonasConn, String factType, int factOffset, JCAResource jcaResourceMBean, String jcaResourceName, String jDomain, String jServer, Context ictx, Properties prop, String description, ConnectionManagerImpl cm) throws Exception(Code) | | Parameters: cf - Referenceable Parameters: jndiName - String Parameters: rarName - String Parameters: conn - ConnectorDesc Parameters: jonasConn - JonasConnectorDesc Parameters: factType - String factory type Parameters: factOffset - int factory offset Parameters: jcaResourceMBean - JCAResource Parameters: jcaResourceName - String Parameters: jDomain - String of JOnAS domain name Parameters: jServer - String of JOnAS server name Parameters: ictx - Context Parameters: prop - Properties throws: Exception - any Exception |
|
|