org.exolab.jms.config
Class Connectors

java.lang.Object
  extended by org.exolab.jms.config.Connectors
All Implemented Interfaces:
java.io.Serializable

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

Class Connectors.

Version:
$Revision$ $Date$
See Also:
Serialized Form

Constructor Summary
Connectors()
           
 
Method Summary
 void addConnector(Connector vConnector)
          Method addConnector
 void addConnector(int index, Connector vConnector)
          Method addConnector
 void clearConnector()
          Method clearConnector
 java.util.Enumeration enumerateConnector()
          Method enumerateConnector
 Connector[] getConnector()
          Method getConnector
 Connector getConnector(int index)
          Method getConnector
 int getConnectorCount()
          Method getConnectorCount
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 boolean removeConnector(Connector vConnector)
          Method removeConnector
 void setConnector(Connector[] connectorArray)
          Method setConnector
 void setConnector(int index, Connector vConnector)
          Method setConnector
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

Connectors

public Connectors()
Method Detail

addConnector

public void addConnector(Connector vConnector)
                  throws java.lang.IndexOutOfBoundsException
Method addConnector

Parameters:
vConnector -
Throws:
java.lang.IndexOutOfBoundsException

addConnector

public void addConnector(int index,
                         Connector vConnector)
                  throws java.lang.IndexOutOfBoundsException
Method addConnector

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

clearConnector

public void clearConnector()
Method clearConnector


enumerateConnector

public java.util.Enumeration enumerateConnector()
Method enumerateConnector

Returns:
Enumeration

getConnector

public Connector getConnector(int index)
                       throws java.lang.IndexOutOfBoundsException
Method getConnector

Parameters:
index -
Returns:
Connector
Throws:
java.lang.IndexOutOfBoundsException

getConnector

public Connector[] getConnector()
Method getConnector

Returns:
Connector

getConnectorCount

public int getConnectorCount()
Method getConnectorCount

Returns:
int

isValid

public boolean isValid()
Method isValid

Returns:
boolean

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

removeConnector

public boolean removeConnector(Connector vConnector)
Method removeConnector

Parameters:
vConnector -
Returns:
boolean

setConnector

public void setConnector(int index,
                         Connector vConnector)
                  throws java.lang.IndexOutOfBoundsException
Method setConnector

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

setConnector

public void setConnector(Connector[] connectorArray)
Method setConnector

Parameters:
connectorArray -

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 -
Returns:
Object
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-2005 The OpenJMS Group. All Rights Reserved.