org.openejb.alt.config.ejb11
Class EjbDeployment

java.lang.Object
  extended by org.openejb.alt.config.ejb11.EjbDeployment
All Implemented Interfaces:
java.io.Serializable

public class EjbDeployment
extends java.lang.Object
implements java.io.Serializable

Class EjbDeployment.

Version:
$Revision: 1104 $ $Date: 2004-03-30 16:44:02 -0800 (Tue, 30 Mar 2004) $
See Also:
Serialized Form

Constructor Summary
EjbDeployment()
           
 
Method Summary
 void addQuery(int index, Query vQuery)
          Method addQuery
 void addQuery(Query vQuery)
          Method addQuery
 void addResourceLink(int index, ResourceLink vResourceLink)
          Method addResourceLink
 void addResourceLink(ResourceLink vResourceLink)
          Method addResourceLink
 java.util.Enumeration enumerateQuery()
          Method enumerateQuery
 java.util.Enumeration enumerateResourceLink()
          Method enumerateResourceLink
 java.lang.String getContainerId()
          Returns the value of field 'containerId'.
 java.lang.String getDeploymentId()
          Returns the value of field 'deploymentId'.
 java.lang.String getEjbName()
          Returns the value of field 'ejbName'.
 Query[] getQuery()
          Method getQuery
 Query getQuery(int index)
          Method getQuery
 int getQueryCount()
          Method getQueryCount
 ResourceLink[] getResourceLink()
          Method getResourceLink
 ResourceLink getResourceLink(int index)
          Method getResourceLink
 int getResourceLinkCount()
          Method getResourceLinkCount
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 void removeAllQuery()
          Method removeAllQuery
 void removeAllResourceLink()
          Method removeAllResourceLink
 Query removeQuery(int index)
          Method removeQuery
 ResourceLink removeResourceLink(int index)
          Method removeResourceLink
 void setContainerId(java.lang.String containerId)
          Sets the value of field 'containerId'.
 void setDeploymentId(java.lang.String deploymentId)
          Sets the value of field 'deploymentId'.
 void setEjbName(java.lang.String ejbName)
          Sets the value of field 'ejbName'.
 void setQuery(int index, Query vQuery)
          Method setQuery
 void setQuery(Query[] queryArray)
          Method setQuery
 void setResourceLink(int index, ResourceLink vResourceLink)
          Method setResourceLink
 void setResourceLink(ResourceLink[] resourceLinkArray)
          Method setResourceLink
static java.lang.Object unmarshal(java.io.Reader reader)
          Method unmarshal
 void validate()
          Method validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EjbDeployment

public EjbDeployment()
Method Detail

addQuery

public void addQuery(Query vQuery)
              throws java.lang.IndexOutOfBoundsException
Method addQuery

Parameters:
vQuery -
Throws:
java.lang.IndexOutOfBoundsException

addQuery

public void addQuery(int index,
                     Query vQuery)
              throws java.lang.IndexOutOfBoundsException
Method addQuery

Parameters:
index -
vQuery -
Throws:
java.lang.IndexOutOfBoundsException

addResourceLink

public void addResourceLink(ResourceLink vResourceLink)
                     throws java.lang.IndexOutOfBoundsException
Method addResourceLink

Parameters:
vResourceLink -
Throws:
java.lang.IndexOutOfBoundsException

addResourceLink

public void addResourceLink(int index,
                            ResourceLink vResourceLink)
                     throws java.lang.IndexOutOfBoundsException
Method addResourceLink

Parameters:
index -
vResourceLink -
Throws:
java.lang.IndexOutOfBoundsException

enumerateQuery

public java.util.Enumeration enumerateQuery()
Method enumerateQuery


enumerateResourceLink

public java.util.Enumeration enumerateResourceLink()
Method enumerateResourceLink


getContainerId

public java.lang.String getContainerId()
Returns the value of field 'containerId'.

Returns:
the value of field 'containerId'.

getDeploymentId

public java.lang.String getDeploymentId()
Returns the value of field 'deploymentId'.

Returns:
the value of field 'deploymentId'.

getEjbName

public java.lang.String getEjbName()
Returns the value of field 'ejbName'.

Returns:
the value of field 'ejbName'.

getQuery

public Query getQuery(int index)
               throws java.lang.IndexOutOfBoundsException
Method getQuery

Parameters:
index -
Throws:
java.lang.IndexOutOfBoundsException

getQuery

public Query[] getQuery()
Method getQuery


getQueryCount

public int getQueryCount()
Method getQueryCount


getResourceLink

public ResourceLink getResourceLink(int index)
                             throws java.lang.IndexOutOfBoundsException
Method getResourceLink

Parameters:
index -
Throws:
java.lang.IndexOutOfBoundsException

getResourceLink

public ResourceLink[] getResourceLink()
Method getResourceLink


getResourceLinkCount

public int getResourceLinkCount()
Method getResourceLinkCount


isValid

public boolean isValid()
Method isValid


marshal

public void marshal(java.io.Writer out)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Method marshal

Parameters:
out -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

marshal

public void marshal(org.xml.sax.ContentHandler handler)
             throws java.io.IOException,
                    org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Method marshal

Parameters:
handler -
Throws:
java.io.IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

removeAllQuery

public void removeAllQuery()
Method removeAllQuery


removeAllResourceLink

public void removeAllResourceLink()
Method removeAllResourceLink


removeQuery

public Query removeQuery(int index)
Method removeQuery

Parameters:
index -

removeResourceLink

public ResourceLink removeResourceLink(int index)
Method removeResourceLink

Parameters:
index -

setContainerId

public void setContainerId(java.lang.String containerId)
Sets the value of field 'containerId'.

Parameters:
containerId - the value of field 'containerId'.

setDeploymentId

public void setDeploymentId(java.lang.String deploymentId)
Sets the value of field 'deploymentId'.

Parameters:
deploymentId - the value of field 'deploymentId'.

setEjbName

public void setEjbName(java.lang.String ejbName)
Sets the value of field 'ejbName'.

Parameters:
ejbName - the value of field 'ejbName'.

setQuery

public void setQuery(int index,
                     Query vQuery)
              throws java.lang.IndexOutOfBoundsException
Method setQuery

Parameters:
index -
vQuery -
Throws:
java.lang.IndexOutOfBoundsException

setQuery

public void setQuery(Query[] queryArray)
Method setQuery

Parameters:
queryArray -

setResourceLink

public void setResourceLink(int index,
                            ResourceLink vResourceLink)
                     throws java.lang.IndexOutOfBoundsException
Method setResourceLink

Parameters:
index -
vResourceLink -
Throws:
java.lang.IndexOutOfBoundsException

setResourceLink

public void setResourceLink(ResourceLink[] resourceLinkArray)
Method setResourceLink

Parameters:
resourceLinkArray -

unmarshal

public static java.lang.Object unmarshal(java.io.Reader reader)
                                  throws org.exolab.castor.xml.MarshalException,
                                         org.exolab.castor.xml.ValidationException
Method unmarshal

Parameters:
reader -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

validate

public void validate()
              throws org.exolab.castor.xml.ValidationException
Method validate

Throws:
org.exolab.castor.xml.ValidationException


Copyright © 1999-2011 OpenEJB. All Rights Reserved.