org.ow2.jonas.deployment.rar.xml
Class JonasConnector

java.lang.Object
  extended by org.ow2.jonas.deployment.common.xml.AbsElement
      extended by org.ow2.jonas.deployment.rar.xml.JonasConnector
All Implemented Interfaces:
Serializable, Element, TopLevelElement

public class JonasConnector
extends AbsElement
implements TopLevelElement

This class defines the implementation of the element jonas-connector

Author:
Florent Benoit
See Also:
Serialized Form

Field Summary
static 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
 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
 String getLogEnabled()
          Gets the log-enabled
 String getLogTopic()
          Gets the log-topic
 String getNativeLib()
          Gets the native-lib
 PoolParams getPoolParams()
          Gets the pool-params
 String getRarlink()
          Gets the rarlink
 TmParams getTmParams()
          Gets the tm-params
 void setJdbcConnParams(JdbcConnParams jdbcConnParams)
          Set the jdbc-conn-params
 void setJndiName(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(String logEnabled)
          Set the log-enabled
 void setLogTopic(String logTopic)
          Set the log-topic
 void setNativeLib(String nativeLib)
          Set the native-lib
 void setPoolParams(PoolParams poolParams)
          Set the pool-params
 void setRarlink(String rarlink)
          Set the rarlink
 void setTmParams(TmParams tmParams)
          Set the tm-params
 String toXML(int indent)
          Represents this element by it's XML description.
 
Methods inherited from class org.ow2.jonas.deployment.common.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 String JONAS_RA_ROOT_ELEMENT
jonas-connector element XML header

Constructor Detail

JonasConnector

public JonasConnector()
Constructor

Method Detail

getJndiName

public String getJndiName()
Gets the jndiname

Returns:
the jndiname

setJndiName

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

Parameters:
jndiName - jndi-name

getRarlink

public String getRarlink()
Gets the rarlink

Returns:
the rarlink

setRarlink

public void setRarlink(String rarlink)
Set the rarlink

Parameters:
rarlink - rarlink

getNativeLib

public String getNativeLib()
Gets the native-lib

Returns:
the native-lib

setNativeLib

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

Parameters:
nativeLib - nativeLib

getLogEnabled

public String getLogEnabled()
Gets the log-enabled

Returns:
the log-enabled

setLogEnabled

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

Parameters:
logEnabled - logEnabled

getLogTopic

public String getLogTopic()
Gets the log-topic

Returns:
the log-topic

setLogTopic

public void setLogTopic(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 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.


Copyright © 2010 OW2 Consortium. All Rights Reserved.