org.codehaus.cargo.module.ejb.orion
Class OrionEjbJarXml

java.lang.Object
  extended byorg.codehaus.cargo.module.AbstractDescriptor
      extended byorg.codehaus.cargo.module.ejb.orion.OrionEjbJarXml
All Implemented Interfaces:
Descriptor, VendorDescriptor, VendorEjbDescriptor

public class OrionEjbJarXml
extends AbstractDescriptor
implements VendorEjbDescriptor

Encapsulates the DOM representation of a oracle ejb deployment descriptor orion-ejb-jar.xml to provide convenience methods for easy access and manipulation.

Version:
$Id: OrionEjbJarXml.java 1390 2007-02-15 17:21:05Z grimsell $

Constructor Summary
OrionEjbJarXml(org.w3c.dom.Document document)
          Constructor.
 
Method Summary
 java.lang.String getFileName()
          Returns the file name of this descriptor. For example "web.xml", "weblogic.xml", etc.
 java.lang.String getJndiName(EjbDef ejb)
          Returns the jndi name for an EJB.
 
Methods inherited from class org.codehaus.cargo.module.AbstractDescriptor
addElement, checkElement, createNestedText, getChildText, getDocument, getElements, getImmediateChild, getInsertionPointFor, getNestedElements, getNestedText, getRootElement, getText, replaceElement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.codehaus.cargo.module.Descriptor
getDocument
 

Constructor Detail

OrionEjbJarXml

public OrionEjbJarXml(org.w3c.dom.Document document)
Constructor.

Parameters:
document - The DOM document representing the parsed deployment descriptor
Method Detail

getFileName

public java.lang.String getFileName()
Returns the file name of this descriptor. For example "web.xml", "weblogic.xml", etc.

Specified by:
getFileName in interface Descriptor
Returns:
the file name
See Also:
Descriptor.getFileName()

getJndiName

public java.lang.String getJndiName(EjbDef ejb)
Returns the jndi name for an EJB.

Specified by:
getJndiName in interface VendorEjbDescriptor
Parameters:
ejb - The EjbDef to get the jndi for
Returns:
the jndi name of the ejb
See Also:
VendorEjbDescriptor.getJndiName(EjbDef)


Copyright © 2004-2008 Codehaus. All Rights Reserved.