org.jboss.resource.deployment
Class ResourceAdapterObjectModelFactory

java.lang.Object
  extended byorg.jboss.resource.deployment.ResourceAdapterObjectModelFactory
All Implemented Interfaces:
ObjectModelFactory (src)

public class ResourceAdapterObjectModelFactory
extends java.lang.Object
implements ObjectModelFactory (src)

Object factory for resource adapter metadata


Constructor Summary
ResourceAdapterObjectModelFactory()
           
 
Method Summary
 java.lang.Object newChild(AdminObjectMetaData (src)  aomd, ContentNavigator (src)  navigator, java.lang.String namespaceURI, java.lang.String localName, org.xml.sax.Attributes attrs)
          admin object child elements
 java.lang.Object newChild(AuthenticationMechanismMetaData (src)  ammd, ContentNavigator (src)  navigator, java.lang.String namespaceURI, java.lang.String localName, org.xml.sax.Attributes attrs)
          authentication mechanism child elements
 java.lang.Object newChild(ConfigPropertyMetaData (src)  cpmd, ContentNavigator (src)  navigator, java.lang.String namespaceURI, java.lang.String localName, org.xml.sax.Attributes attrs)
          config property child elements
 java.lang.Object newChild(ConnectionDefinitionMetaData (src)  cdmd, ContentNavigator (src)  navigator, java.lang.String namespaceURI, java.lang.String localName, org.xml.sax.Attributes attrs)
          connection definition child elements
 java.lang.Object newChild(ConnectorMetaData (src)  cmd, ContentNavigator (src)  navigator, java.lang.String namespaceURI, java.lang.String localName, org.xml.sax.Attributes attrs)
          connector child elements
 java.lang.Object newChild(LicenseMetaData (src)  lmd, ContentNavigator (src)  navigator, java.lang.String namespaceURI, java.lang.String localName, org.xml.sax.Attributes attrs)
          license child elements
 java.lang.Object newChild(MessageListenerMetaData (src)  mlmd, ContentNavigator (src)  navigator, java.lang.String namespaceURI, java.lang.String localName, org.xml.sax.Attributes attrs)
          message listener child elements
 java.lang.Object newChild(RequiredConfigPropertyMetaData (src)  rcpmd, ContentNavigator (src)  navigator, java.lang.String namespaceURI, java.lang.String localName, org.xml.sax.Attributes attrs)
          required config property child elements
 java.lang.Object newChild(SecurityPermissionMetaData (src)  spmd, ContentNavigator (src)  navigator, java.lang.String namespaceURI, java.lang.String localName, org.xml.sax.Attributes attrs)
          security permission child elements
 java.lang.Object newChild(TransactionSupportMetaData (src)  tsmd, ContentNavigator (src)  navigator, java.lang.String namespaceURI, java.lang.String localName, org.xml.sax.Attributes attrs)
          transaction support child elements
 java.lang.Object newRoot(java.lang.Object root, ContentNavigator (src)  navigator, java.lang.String namespaceURI, java.lang.String localName, org.xml.sax.Attributes attrs)
          This method is called by the object model factory and returns the root of the object graph.
 void setValue(AdminObjectMetaData (src)  aomd, ContentNavigator (src)  navigator, java.lang.String namespaceURI, java.lang.String localName, java.lang.String value)
          admin object definition elements
 void setValue(AuthenticationMechanismMetaData (src)  ammd, ContentNavigator (src)  navigator, java.lang.String namespaceURI, java.lang.String localName, java.lang.String value)
          authentication mechanism elements
 void setValue(ConfigPropertyMetaData (src)  cpmd, ContentNavigator (src)  navigator, java.lang.String namespaceURI, java.lang.String localName, java.lang.String value)
          config property elements
 void setValue(ConnectionDefinitionMetaData (src)  cdmd, ContentNavigator (src)  navigator, java.lang.String namespaceURI, java.lang.String localName, java.lang.String value)
          connection definition elements
 void setValue(ConnectorMetaData (src)  cmd, ContentNavigator (src)  navigator, java.lang.String namespaceURI, java.lang.String localName, java.lang.String value)
          connector elements
 void setValue(DescriptionGroupMetaData (src)  dmd, ContentNavigator (src)  navigator, java.lang.String namespaceURI, java.lang.String localName, java.lang.String value)
          description group elements
 void setValue(DescriptionMetaData (src)  dmd, ContentNavigator (src)  navigator, java.lang.String namespaceURI, java.lang.String localName, java.lang.String value)
          description elements
 void setValue(LicenseMetaData (src)  lmd, ContentNavigator (src)  navigator, java.lang.String namespaceURI, java.lang.String localName, java.lang.String value)
          license elements
 void setValue(MessageListenerMetaData (src)  mlmd, ContentNavigator (src)  navigator, java.lang.String namespaceURI, java.lang.String localName, java.lang.String value)
          message listener elements
 void setValue(RequiredConfigPropertyMetaData (src)  rcpmd, ContentNavigator (src)  navigator, java.lang.String namespaceURI, java.lang.String localName, java.lang.String value)
          required config property elements
 void setValue(SecurityPermissionMetaData (src)  spmd, ContentNavigator (src)  navigator, java.lang.String namespaceURI, java.lang.String localName, java.lang.String value)
          security permission elements
 void setValue(TransactionSupportMetaData (src)  tsmd, ContentNavigator (src)  navigator, java.lang.String namespaceURI, java.lang.String localName, java.lang.String value)
          transaction support elements
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceAdapterObjectModelFactory

public ResourceAdapterObjectModelFactory()
Method Detail

newChild

public java.lang.Object newChild(ConnectorMetaData (src)  cmd,
                                 ContentNavigator (src)  navigator,
                                 java.lang.String namespaceURI,
                                 java.lang.String localName,
                                 org.xml.sax.Attributes attrs)
connector child elements

Parameters:
cmd - the connector meta data
navigator - the content navigator
namespaceURI - the namespace of the element
localName - the local name of the element
attrs - the attributes

setValue

public void setValue(ConnectorMetaData (src)  cmd,
                     ContentNavigator (src)  navigator,
                     java.lang.String namespaceURI,
                     java.lang.String localName,
                     java.lang.String value)
connector elements

Parameters:
cmd - the connector meta data
navigator - the content navigator
namespaceURI - the namespace of the element
localName - the local name of the element
value - the value

setValue

public void setValue(DescriptionGroupMetaData (src)  dmd,
                     ContentNavigator (src)  navigator,
                     java.lang.String namespaceURI,
                     java.lang.String localName,
                     java.lang.String value)
description group elements

Parameters:
dmd - the description meta data
navigator - the content navigator
namespaceURI - the namespace of the element
localName - the local name of the element
value - the value

setValue

public void setValue(DescriptionMetaData (src)  dmd,
                     ContentNavigator (src)  navigator,
                     java.lang.String namespaceURI,
                     java.lang.String localName,
                     java.lang.String value)
description elements

Parameters:
dmd - the description meta data
navigator - the content navigator
namespaceURI - the namespace of the element
localName - the local name of the element
value - the value

newChild

public java.lang.Object newChild(ConfigPropertyMetaData (src)  cpmd,
                                 ContentNavigator (src)  navigator,
                                 java.lang.String namespaceURI,
                                 java.lang.String localName,
                                 org.xml.sax.Attributes attrs)
config property child elements

Parameters:
cpmd - the config property meta data
navigator - the content navigator
namespaceURI - the namespace of the element
localName - the local name of the element
attrs - the attributes

setValue

public void setValue(ConfigPropertyMetaData (src)  cpmd,
                     ContentNavigator (src)  navigator,
                     java.lang.String namespaceURI,
                     java.lang.String localName,
                     java.lang.String value)
config property elements

Parameters:
cpmd - the description meta data
navigator - the content navigator
namespaceURI - the namespace of the element
localName - the local name of the element
value - the value

newChild

public java.lang.Object newChild(LicenseMetaData (src)  lmd,
                                 ContentNavigator (src)  navigator,
                                 java.lang.String namespaceURI,
                                 java.lang.String localName,
                                 org.xml.sax.Attributes attrs)
license child elements

Parameters:
lmd - the license meta data
navigator - the content navigator
namespaceURI - the namespace of the element
localName - the local name of the element
attrs - the attributes

setValue

public void setValue(LicenseMetaData (src)  lmd,
                     ContentNavigator (src)  navigator,
                     java.lang.String namespaceURI,
                     java.lang.String localName,
                     java.lang.String value)
license elements

Parameters:
lmd - the license meta data
navigator - the content navigator
namespaceURI - the namespace of the element
localName - the local name of the element
value - the value

newChild

public java.lang.Object newChild(ConnectionDefinitionMetaData (src)  cdmd,
                                 ContentNavigator (src)  navigator,
                                 java.lang.String namespaceURI,
                                 java.lang.String localName,
                                 org.xml.sax.Attributes attrs)
connection definition child elements

Parameters:
cdmd - the message listener meta data
navigator - the content navigator
namespaceURI - the namespace of the element
localName - the local name of the element
attrs - the attributes

setValue

public void setValue(ConnectionDefinitionMetaData (src)  cdmd,
                     ContentNavigator (src)  navigator,
                     java.lang.String namespaceURI,
                     java.lang.String localName,
                     java.lang.String value)
connection definition elements

Parameters:
cdmd - the description meta data
navigator - the content navigator
namespaceURI - the namespace of the element
localName - the local name of the element
value - the value

newChild

public java.lang.Object newChild(TransactionSupportMetaData (src)  tsmd,
                                 ContentNavigator (src)  navigator,
                                 java.lang.String namespaceURI,
                                 java.lang.String localName,
                                 org.xml.sax.Attributes attrs)
transaction support child elements

Parameters:
tsmd - the transaction support meta data
navigator - the content navigator
namespaceURI - the namespace of the element
localName - the local name of the element
attrs - the attributes

setValue

public void setValue(TransactionSupportMetaData (src)  tsmd,
                     ContentNavigator (src)  navigator,
                     java.lang.String namespaceURI,
                     java.lang.String localName,
                     java.lang.String value)
transaction support elements

Parameters:
tsmd - the transaction support meta data
navigator - the content navigator
namespaceURI - the namespace of the element
localName - the local name of the element
value - the value

newChild

public java.lang.Object newChild(AuthenticationMechanismMetaData (src)  ammd,
                                 ContentNavigator (src)  navigator,
                                 java.lang.String namespaceURI,
                                 java.lang.String localName,
                                 org.xml.sax.Attributes attrs)
authentication mechanism child elements

Parameters:
ammd - the authentication mechanism meta data
navigator - the content navigator
namespaceURI - the namespace of the element
localName - the local name of the element
attrs - the attributes

setValue

public void setValue(AuthenticationMechanismMetaData (src)  ammd,
                     ContentNavigator (src)  navigator,
                     java.lang.String namespaceURI,
                     java.lang.String localName,
                     java.lang.String value)
authentication mechanism elements

Parameters:
ammd - the authentication mechanism meta data
navigator - the content navigator
namespaceURI - the namespace of the element
localName - the local name of the element
value - the value

newChild

public java.lang.Object newChild(MessageListenerMetaData (src)  mlmd,
                                 ContentNavigator (src)  navigator,
                                 java.lang.String namespaceURI,
                                 java.lang.String localName,
                                 org.xml.sax.Attributes attrs)
message listener child elements

Parameters:
mlmd - the message listener meta data
navigator - the content navigator
namespaceURI - the namespace of the element
localName - the local name of the element
attrs - the attributes

setValue

public void setValue(MessageListenerMetaData (src)  mlmd,
                     ContentNavigator (src)  navigator,
                     java.lang.String namespaceURI,
                     java.lang.String localName,
                     java.lang.String value)
message listener elements

Parameters:
mlmd - the description meta data
navigator - the content navigator
namespaceURI - the namespace of the element
localName - the local name of the element
value - the value

newChild

public java.lang.Object newChild(AdminObjectMetaData (src)  aomd,
                                 ContentNavigator (src)  navigator,
                                 java.lang.String namespaceURI,
                                 java.lang.String localName,
                                 org.xml.sax.Attributes attrs)
admin object child elements

Parameters:
aomd - the admin object meta data
navigator - the content navigator
namespaceURI - the namespace of the element
localName - the local name of the element
attrs - the attributes

setValue

public void setValue(AdminObjectMetaData (src)  aomd,
                     ContentNavigator (src)  navigator,
                     java.lang.String namespaceURI,
                     java.lang.String localName,
                     java.lang.String value)
admin object definition elements

Parameters:
aomd - the admin object meta data
navigator - the content navigator
namespaceURI - the namespace of the element
localName - the local name of the element
value - the value

newChild

public java.lang.Object newChild(SecurityPermissionMetaData (src)  spmd,
                                 ContentNavigator (src)  navigator,
                                 java.lang.String namespaceURI,
                                 java.lang.String localName,
                                 org.xml.sax.Attributes attrs)
security permission child elements

Parameters:
spmd - the security permission meta data
navigator - the content navigator
namespaceURI - the namespace of the element
localName - the local name of the element
attrs - the attributes

setValue

public void setValue(SecurityPermissionMetaData (src)  spmd,
                     ContentNavigator (src)  navigator,
                     java.lang.String namespaceURI,
                     java.lang.String localName,
                     java.lang.String value)
security permission elements

Parameters:
spmd - the security permission meta data
navigator - the content navigator
namespaceURI - the namespace of the element
localName - the local name of the element
value - the value

newChild

public java.lang.Object newChild(RequiredConfigPropertyMetaData (src)  rcpmd,
                                 ContentNavigator (src)  navigator,
                                 java.lang.String namespaceURI,
                                 java.lang.String localName,
                                 org.xml.sax.Attributes attrs)
required config property child elements

Parameters:
rcpmd - the config property meta data
navigator - the content navigator
namespaceURI - the namespace of the element
localName - the local name of the element
attrs - the attributes

setValue

public void setValue(RequiredConfigPropertyMetaData (src)  rcpmd,
                     ContentNavigator (src)  navigator,
                     java.lang.String namespaceURI,
                     java.lang.String localName,
                     java.lang.String value)
required config property elements

Parameters:
rcpmd - the required config property meta data
navigator - the content navigator
namespaceURI - the namespace of the element
localName - the local name of the element
value - the value

newRoot

public java.lang.Object newRoot(java.lang.Object root,
                                ContentNavigator (src)  navigator,
                                java.lang.String namespaceURI,
                                java.lang.String localName,
                                org.xml.sax.Attributes attrs)
Description copied from interface: ObjectModelFactory (src)
This method is called by the object model factory and returns the root of the object graph. If the root argument is null the factory is supposed to create and return a new one. If the root argument is not null (i.e. the user provided the root object through the org.jboss.xml.binding.Unmarshaller) then the factory should either just return it as is or extract the real root from the root argument based on the namespace URI and local name.

Specified by:
newRoot in interface ObjectModelFactory (src)
Parameters:
root - an object that is the root or which contains the root object
navigator - content navigator
namespaceURI - namespace URI of the root
localName - local name of the root
attrs - attributes of the root object
Returns:
the root of the object graph