org.openejb.alt.assembler.classic.xml
Class Facilities

java.lang.Object
  extended byorg.openejb.alt.assembler.classic.InfoObject
      extended byorg.openejb.alt.assembler.classic.FacilitiesInfo
          extended byorg.openejb.alt.assembler.classic.xml.Facilities
All Implemented Interfaces:
DomObject, Serializable

public class Facilities
extends FacilitiesInfo
implements DomObject

A subclass of FacilitiesInfo filled with data from an XML file. Populates the member variables of FacilitiesInfo in this classes initializeFromDOM method.

Author:
David Blevins, Richard Monson-Haefel
See Also:
FacilitiesInfo, Serialized Form

Field Summary
static String CONNECTION_MANAGER
          Represents the connection-manager element in the XML config file.
static String CONNECTOR
          Represents the connector element in the XML config file.
static String CONNECTORS
          Represents the connectors element in the XML config file.
static String INTRA_VM_SERVER
          Represents the intra-vm-server element in the XML config file.
static String JNDI_CONTEXT
          Represents the jndi-context element in the XML config file.
static String NODES
          Represents the nodes element in the XML config file.
static String REMOTE_JNDI_CONTEXTS
          Represents the remote-jndi-contexts element in the XML config file.
static String SECURITY_SERVICE
          Represents the security-service element in the XML config file.
static String SERVICES
          Represents the services element in the XML config file.
static String TRANSACTION_SERVICE
          Represents the transaction-service element in the XML config file.
 
Fields inherited from class org.openejb.alt.assembler.classic.FacilitiesInfo
connectionManagers, connectors, intraVmServer, remoteJndiContexts, securityService, transactionService
 
Constructor Summary
Facilities()
           
 
Method Summary
 void initializeFromDOM(Node node)
          Parses out the values needed by this DomObject from the DOM Node passed in.
 void serializeToDOM(Node node)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INTRA_VM_SERVER

public static final String INTRA_VM_SERVER
Represents the intra-vm-server element in the XML config file.

See Also:
Constant Field Values

REMOTE_JNDI_CONTEXTS

public static final String REMOTE_JNDI_CONTEXTS
Represents the remote-jndi-contexts element in the XML config file.

See Also:
Constant Field Values

JNDI_CONTEXT

public static final String JNDI_CONTEXT
Represents the jndi-context element in the XML config file.

See Also:
Constant Field Values

CONNECTORS

public static final String CONNECTORS
Represents the connectors element in the XML config file.

See Also:
Constant Field Values

CONNECTOR

public static final String CONNECTOR
Represents the connector element in the XML config file.

See Also:
Constant Field Values

CONNECTION_MANAGER

public static final String CONNECTION_MANAGER
Represents the connection-manager element in the XML config file.

See Also:
Constant Field Values

NODES

public static final String NODES
Represents the nodes element in the XML config file.

See Also:
Constant Field Values

SERVICES

public static final String SERVICES
Represents the services element in the XML config file.

See Also:
Constant Field Values

SECURITY_SERVICE

public static final String SECURITY_SERVICE
Represents the security-service element in the XML config file.

See Also:
Constant Field Values

TRANSACTION_SERVICE

public static final String TRANSACTION_SERVICE
Represents the transaction-service element in the XML config file.

See Also:
Constant Field Values
Constructor Detail

Facilities

public Facilities()
Method Detail

initializeFromDOM

public void initializeFromDOM(Node node)
                       throws OpenEJBException
Parses out the values needed by this DomObject from the DOM Node passed in.

Specified by:
initializeFromDOM in interface DomObject
Throws:
OpenEJBException
See Also:
Node

serializeToDOM

public void serializeToDOM(Node node)
                    throws OpenEJBException
Specified by:
serializeToDOM in interface DomObject
Throws:
OpenEJBException


Copyright © 1999-2007 OpenEJB. All Rights Reserved.