org.openejb.config.sys
Class Openejb

java.lang.Object
  extended byorg.openejb.config.sys.Openejb
All Implemented Interfaces:
Serializable

public class Openejb
extends Object
implements Serializable

Version:
$Revision: 1.1 $ $Date: 2004/03/01 07:14:43 $
See Also:
Serialized Form

Constructor Summary
Openejb()
           
 
Method Summary
 void addConnector(Connector vConnector)
           
 void addConnector(int index, Connector vConnector)
           
 void addContainer(Container vContainer)
           
 void addContainer(int index, Container vContainer)
           
 void addDeployments(Deployments vDeployments)
           
 void addDeployments(int index, Deployments vDeployments)
           
 void addJndiProvider(int index, JndiProvider vJndiProvider)
           
 void addJndiProvider(JndiProvider vJndiProvider)
           
 void addResource(int index, Resource vResource)
           
 void addResource(Resource vResource)
           
 Enumeration enumerateConnector()
           
 Enumeration enumerateContainer()
           
 Enumeration enumerateDeployments()
           
 Enumeration enumerateJndiProvider()
           
 Enumeration enumerateResource()
           
 ConnectionManager getConnectionManager()
          Returns the value of field 'connectionManager'.
 Connector[] getConnector()
           
 Connector getConnector(int index)
           
 int getConnectorCount()
           
 Container[] getContainer()
           
 Container getContainer(int index)
           
 int getContainerCount()
           
 String getContent()
          Returns the value of field 'content'.
 Deployments[] getDeployments()
           
 Deployments getDeployments(int index)
           
 int getDeploymentsCount()
           
 JndiProvider[] getJndiProvider()
           
 JndiProvider getJndiProvider(int index)
           
 int getJndiProviderCount()
           
 ProxyFactory getProxyFactory()
          Returns the value of field 'proxyFactory'.
 Resource[] getResource()
           
 Resource getResource(int index)
           
 int getResourceCount()
           
 SecurityService getSecurityService()
          Returns the value of field 'securityService'.
 TransactionService getTransactionService()
          Returns the value of field 'transactionService'.
 boolean isValid()
           
 void marshal(DocumentHandler handler)
           
 void marshal(Writer out)
           
 void removeAllConnector()
           
 void removeAllContainer()
           
 void removeAllDeployments()
           
 void removeAllJndiProvider()
           
 void removeAllResource()
           
 Connector removeConnector(int index)
           
 Container removeContainer(int index)
           
 Deployments removeDeployments(int index)
           
 JndiProvider removeJndiProvider(int index)
           
 Resource removeResource(int index)
           
 void setConnectionManager(ConnectionManager connectionManager)
          Sets the value of field 'connectionManager'.
 void setConnector(Connector[] connectorArray)
           
 void setConnector(int index, Connector vConnector)
           
 void setContainer(Container[] containerArray)
           
 void setContainer(int index, Container vContainer)
           
 void setContent(String content)
          Sets the value of field 'content'.
 void setDeployments(Deployments[] deploymentsArray)
           
 void setDeployments(int index, Deployments vDeployments)
           
 void setJndiProvider(int index, JndiProvider vJndiProvider)
           
 void setJndiProvider(JndiProvider[] jndiProviderArray)
           
 void setProxyFactory(ProxyFactory proxyFactory)
          Sets the value of field 'proxyFactory'.
 void setResource(int index, Resource vResource)
           
 void setResource(Resource[] resourceArray)
           
 void setSecurityService(SecurityService securityService)
          Sets the value of field 'securityService'.
 void setTransactionService(TransactionService transactionService)
          Sets the value of field 'transactionService'.
static Openejb unmarshal(Reader reader)
           
 void validate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Openejb

public Openejb()
Method Detail

addConnector

public void addConnector(Connector vConnector)
                  throws IndexOutOfBoundsException
Parameters:
vConnector -
Throws:
IndexOutOfBoundsException

addConnector

public void addConnector(int index,
                         Connector vConnector)
                  throws IndexOutOfBoundsException
Parameters:
index -
vConnector -
Throws:
IndexOutOfBoundsException

addContainer

public void addContainer(Container vContainer)
                  throws IndexOutOfBoundsException
Parameters:
vContainer -
Throws:
IndexOutOfBoundsException

addContainer

public void addContainer(int index,
                         Container vContainer)
                  throws IndexOutOfBoundsException
Parameters:
index -
vContainer -
Throws:
IndexOutOfBoundsException

addDeployments

public void addDeployments(Deployments vDeployments)
                    throws IndexOutOfBoundsException
Parameters:
vDeployments -
Throws:
IndexOutOfBoundsException

addDeployments

public void addDeployments(int index,
                           Deployments vDeployments)
                    throws IndexOutOfBoundsException
Parameters:
index -
vDeployments -
Throws:
IndexOutOfBoundsException

addJndiProvider

public void addJndiProvider(JndiProvider vJndiProvider)
                     throws IndexOutOfBoundsException
Parameters:
vJndiProvider -
Throws:
IndexOutOfBoundsException

addJndiProvider

public void addJndiProvider(int index,
                            JndiProvider vJndiProvider)
                     throws IndexOutOfBoundsException
Parameters:
index -
vJndiProvider -
Throws:
IndexOutOfBoundsException

addResource

public void addResource(Resource vResource)
                 throws IndexOutOfBoundsException
Parameters:
vResource -
Throws:
IndexOutOfBoundsException

addResource

public void addResource(int index,
                        Resource vResource)
                 throws IndexOutOfBoundsException
Parameters:
index -
vResource -
Throws:
IndexOutOfBoundsException

enumerateConnector

public Enumeration enumerateConnector()

enumerateContainer

public Enumeration enumerateContainer()

enumerateDeployments

public Enumeration enumerateDeployments()

enumerateJndiProvider

public Enumeration enumerateJndiProvider()

enumerateResource

public Enumeration enumerateResource()

getConnectionManager

public ConnectionManager getConnectionManager()
Returns the value of field 'connectionManager'.

Returns:
the value of field 'connectionManager'.

getConnector

public Connector getConnector(int index)
                       throws IndexOutOfBoundsException
Parameters:
index -
Throws:
IndexOutOfBoundsException

getConnector

public Connector[] getConnector()

getConnectorCount

public int getConnectorCount()

getContainer

public Container getContainer(int index)
                       throws IndexOutOfBoundsException
Parameters:
index -
Throws:
IndexOutOfBoundsException

getContainer

public Container[] getContainer()

getContainerCount

public int getContainerCount()

getContent

public String getContent()
Returns the value of field 'content'. The field 'content' has the following description: internal content storage

Returns:
the value of field 'content'.

getDeployments

public Deployments getDeployments(int index)
                           throws IndexOutOfBoundsException
Parameters:
index -
Throws:
IndexOutOfBoundsException

getDeployments

public Deployments[] getDeployments()

getDeploymentsCount

public int getDeploymentsCount()

getJndiProvider

public JndiProvider getJndiProvider(int index)
                             throws IndexOutOfBoundsException
Parameters:
index -
Throws:
IndexOutOfBoundsException

getJndiProvider

public JndiProvider[] getJndiProvider()

getJndiProviderCount

public int getJndiProviderCount()

getProxyFactory

public ProxyFactory getProxyFactory()
Returns the value of field 'proxyFactory'.

Returns:
the value of field 'proxyFactory'.

getResource

public Resource getResource(int index)
                     throws IndexOutOfBoundsException
Parameters:
index -
Throws:
IndexOutOfBoundsException

getResource

public Resource[] getResource()

getResourceCount

public int getResourceCount()

getSecurityService

public SecurityService getSecurityService()
Returns the value of field 'securityService'.

Returns:
the value of field 'securityService'.

getTransactionService

public TransactionService getTransactionService()
Returns the value of field 'transactionService'.

Returns:
the value of field 'transactionService'.

isValid

public boolean isValid()

marshal

public void marshal(Writer out)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Parameters:
out -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

marshal

public void marshal(DocumentHandler handler)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Parameters:
handler -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

removeAllConnector

public void removeAllConnector()

removeAllContainer

public void removeAllContainer()

removeAllDeployments

public void removeAllDeployments()

removeAllJndiProvider

public void removeAllJndiProvider()

removeAllResource

public void removeAllResource()

removeConnector

public Connector removeConnector(int index)
Parameters:
index -

removeContainer

public Container removeContainer(int index)
Parameters:
index -

removeDeployments

public Deployments removeDeployments(int index)
Parameters:
index -

removeJndiProvider

public JndiProvider removeJndiProvider(int index)
Parameters:
index -

removeResource

public Resource removeResource(int index)
Parameters:
index -

setConnectionManager

public void setConnectionManager(ConnectionManager connectionManager)
Sets the value of field 'connectionManager'.

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

setConnector

public void setConnector(int index,
                         Connector vConnector)
                  throws IndexOutOfBoundsException
Parameters:
index -
vConnector -
Throws:
IndexOutOfBoundsException

setConnector

public void setConnector(Connector[] connectorArray)
Parameters:
connectorArray -

setContainer

public void setContainer(int index,
                         Container vContainer)
                  throws IndexOutOfBoundsException
Parameters:
index -
vContainer -
Throws:
IndexOutOfBoundsException

setContainer

public void setContainer(Container[] containerArray)
Parameters:
containerArray -

setContent

public void setContent(String content)
Sets the value of field 'content'. The field 'content' has the following description: internal content storage

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

setDeployments

public void setDeployments(int index,
                           Deployments vDeployments)
                    throws IndexOutOfBoundsException
Parameters:
index -
vDeployments -
Throws:
IndexOutOfBoundsException

setDeployments

public void setDeployments(Deployments[] deploymentsArray)
Parameters:
deploymentsArray -

setJndiProvider

public void setJndiProvider(int index,
                            JndiProvider vJndiProvider)
                     throws IndexOutOfBoundsException
Parameters:
index -
vJndiProvider -
Throws:
IndexOutOfBoundsException

setJndiProvider

public void setJndiProvider(JndiProvider[] jndiProviderArray)
Parameters:
jndiProviderArray -

setProxyFactory

public void setProxyFactory(ProxyFactory proxyFactory)
Sets the value of field 'proxyFactory'.

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

setResource

public void setResource(int index,
                        Resource vResource)
                 throws IndexOutOfBoundsException
Parameters:
index -
vResource -
Throws:
IndexOutOfBoundsException

setResource

public void setResource(Resource[] resourceArray)
Parameters:
resourceArray -

setSecurityService

public void setSecurityService(SecurityService securityService)
Sets the value of field 'securityService'.

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

setTransactionService

public void setTransactionService(TransactionService transactionService)
Sets the value of field 'transactionService'.

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

unmarshal

public static Openejb unmarshal(Reader reader)
                         throws org.exolab.castor.xml.MarshalException,
                                org.exolab.castor.xml.ValidationException
Parameters:
reader -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

validate

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


Copyright © 1999-2005 OpenEJB. All Rights Reserved.