org.objectweb.jonas_rar.deployment.xml
Class JonasConnector

java.lang.Object
  extended by org.objectweb.jonas_lib.deployment.xml.AbsElement
      extended by org.objectweb.jonas_rar.deployment.xml.JonasConnector
All Implemented Interfaces:
java.io.Serializable, Element, TopLevelElement

public class JonasConnector
extends AbsElement
implements TopLevelElement

This class defines the implementation of the element jonas-resource

Author:
Florent Benoit
See Also:
Serialized Form

Field Summary
static java.lang.String JONAS_RA_ROOT_ELEMENT
          jonas-connector element XML header
 
Constructor Summary
JonasConnector()
          Constructor
 
Method Summary
 void addJonasActivationspec(JonasActivationspec jonasActivationspec)
          Add a new jonas-activationspec-property element to this object
 void addJonasAdminobject(JonasAdminobject jonasAdminobject)
          Add a new jonas-adminobject-property element to this object
 void addJonasConfigProperty(JonasConfigProperty jonasConfigProperty)
          Add a new jonas-config-property element to this object
 void addJonasConnectionDefinition(JonasConnectionDefinition jonasConnectionDefinition)
          Add a new jonas-connection-definition-property element to this object
 JdbcConnParams getJdbcConnParams()
          Gets the jdbc-conn-params
 java.lang.String getJndiName()
          Gets the jndiname
 JLinkedList getJonasActivationspecList()
          Gets the jonas-activationspec
 JLinkedList getJonasAdminobjectList()
          Gets the jonas-adminobject
 JLinkedList getJonasConfigPropertyList()
          Gets the jonas-config-property
 JLinkedList getJonasConnectionDefinitionList()
          Gets the jonas-connection-definition
 JonasSecurityMapping getJonasSecurityMapping()
          Gets the jonas-security-mapping
 java.lang.String getLogEnabled()
          Gets the log-enabled
 java.lang.String getLogTopic()
          Gets the log-topic
 java.lang.String getNativeLib()
          Gets the native-lib
 PoolParams getPoolParams()
          Gets the pool-params
 java.lang.String getRarlink()
          Gets the rarlink
 TmParams getTmParams()
          Gets the tm-params
 void setJdbcConnParams(JdbcConnParams jdbcConnParams)
          Set the jdbc-conn-params
 void setJndiName(java.lang.String jndiName)
          Set the jndi-name
 void setJonasActivationspecList(JLinkedList jonasActivationspecList)
          Set the jonas-activationspec-property
 void setJonasAdminobjectList(JLinkedList jonasAdminobjectList)
          Set the jonas-adminobject-property
 void setJonasConfigPropertyList(JLinkedList jonasConfigPropertyList)
          Set the jonas-config-property
 void setJonasConnectionDefinitionList(JLinkedList jonasConnectionDefinitionList)
          Set the jonas-connection-definition-property
 void setJonasSecurityMapping(JonasSecurityMapping jonasSecurityMapping)
          Set the jonas-security-mapping
 void setLogEnabled(java.lang.String logEnabled)
          Set the log-enabled
 void setLogTopic(java.lang.String logTopic)
          Set the log-topic
 void setNativeLib(java.lang.String nativeLib)
          Set the native-lib
 void setPoolParams(PoolParams poolParams)
          Set the pool-params
 void setRarlink(java.lang.String rarlink)
          Set the rarlink
 void setTmParams(TmParams tmParams)
          Set the tm-params
 java.lang.String toXML(int indent)
          Represents this element by it's XML description.
 
Methods inherited from class org.objectweb.jonas_lib.deployment.xml.AbsElement
indent, toString, toXML, xmlAttribute, xmlElement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

JONAS_RA_ROOT_ELEMENT

public static final java.lang.String JONAS_RA_ROOT_ELEMENT
jonas-connector element XML header

Constructor Detail

JonasConnector

public JonasConnector()
Constructor

Method Detail

getJndiName

public java.lang.String getJndiName()
Gets the jndiname

Returns:
the jndiname

setJndiName

public void setJndiName(java.lang.String jndiName)
Set the jndi-name

Parameters:
jndiName - jndi-name

getRarlink

public java.lang.String getRarlink()
Gets the rarlink

Returns:
the rarlink

setRarlink

public void setRarlink(java.lang.String rarlink)
Set the rarlink

Parameters:
rarlink - rarlink

getNativeLib

public java.lang.String getNativeLib()
Gets the native-lib

Returns:
the native-lib

setNativeLib

public void setNativeLib(java.lang.String nativeLib)
Set the native-lib

Parameters:
nativeLib - nativeLib

getLogEnabled

public java.lang.String getLogEnabled()
Gets the log-enabled

Returns:
the log-enabled

setLogEnabled

public void setLogEnabled(java.lang.String logEnabled)
Set the log-enabled

Parameters:
logEnabled - logEnabled

getLogTopic

public java.lang.String getLogTopic()
Gets the log-topic

Returns:
the log-topic

setLogTopic

public void setLogTopic(java.lang.String logTopic)
Set the log-topic

Parameters:
logTopic - logTopic

getPoolParams

public PoolParams getPoolParams()
Gets the pool-params

Returns:
the pool-params

setPoolParams

public void setPoolParams(PoolParams poolParams)
Set the pool-params

Parameters:
poolParams - poolParams

getJdbcConnParams

public JdbcConnParams getJdbcConnParams()
Gets the jdbc-conn-params

Returns:
the jdbc-conn-params

setJdbcConnParams

public void setJdbcConnParams(JdbcConnParams jdbcConnParams)
Set the jdbc-conn-params

Parameters:
jdbcConnParams - jdbcConnParams

getJonasConfigPropertyList

public JLinkedList getJonasConfigPropertyList()
Gets the jonas-config-property

Returns:
the jonas-config-property

setJonasConfigPropertyList

public void setJonasConfigPropertyList(JLinkedList jonasConfigPropertyList)
Set the jonas-config-property

Parameters:
jonasConfigPropertyList - jonasConfigProperty

addJonasConfigProperty

public void addJonasConfigProperty(JonasConfigProperty jonasConfigProperty)
Add a new jonas-config-property element to this object

Parameters:
jonasConfigProperty - the jonasConfigPropertyobject

getJonasConnectionDefinitionList

public JLinkedList getJonasConnectionDefinitionList()
Gets the jonas-connection-definition

Returns:
the jonas-connection-definition

setJonasConnectionDefinitionList

public void setJonasConnectionDefinitionList(JLinkedList jonasConnectionDefinitionList)
Set the jonas-connection-definition-property

Parameters:
jonasConnectionDefinitionList - jonasConnectionDefinition list

addJonasConnectionDefinition

public void addJonasConnectionDefinition(JonasConnectionDefinition jonasConnectionDefinition)
Add a new jonas-connection-definition-property element to this object

Parameters:
jonasConnectionDefinition - the jonasConnectionDefinition object

getJonasActivationspecList

public JLinkedList getJonasActivationspecList()
Gets the jonas-activationspec

Returns:
the jonas-activationspec

setJonasActivationspecList

public void setJonasActivationspecList(JLinkedList jonasActivationspecList)
Set the jonas-activationspec-property

Parameters:
jonasActivationspecList - jonas-activationspec-property list

addJonasActivationspec

public void addJonasActivationspec(JonasActivationspec jonasActivationspec)
Add a new jonas-activationspec-property element to this object

Parameters:
jonasActivationspec - the jonasActivationspec object

getJonasAdminobjectList

public JLinkedList getJonasAdminobjectList()
Gets the jonas-adminobject

Returns:
the jonas-adminobject

setJonasAdminobjectList

public void setJonasAdminobjectList(JLinkedList jonasAdminobjectList)
Set the jonas-adminobject-property

Parameters:
jonasAdminobjectList - jonas-adminobject-property list

addJonasAdminobject

public void addJonasAdminobject(JonasAdminobject jonasAdminobject)
Add a new jonas-adminobject-property element to this object

Parameters:
jonasAdminobject - the jonasAdminobject object

getJonasSecurityMapping

public JonasSecurityMapping getJonasSecurityMapping()
Gets the jonas-security-mapping

Returns:
the jonasSecurityMapping

setJonasSecurityMapping

public void setJonasSecurityMapping(JonasSecurityMapping jonasSecurityMapping)
Set the jonas-security-mapping

Parameters:
jonasSecurityMapping - jonasSecurityMapping

getTmParams

public TmParams getTmParams()
Gets the tm-params

Returns:
the tm-params

setTmParams

public void setTmParams(TmParams tmParams)
Set the tm-params

Parameters:
tmParams - tmParams

toXML

public java.lang.String toXML(int indent)
Represents this element by it's XML description.

Specified by:
toXML in interface Element
Specified by:
toXML in class AbsElement
Parameters:
indent - use this indent for prefixing XML representation.
Returns:
the XML description of this object.