org.exolab.jms.config
Class JndiConfiguration

java.lang.Object
  |
  +--org.exolab.jms.config.JndiConfiguration
All Implemented Interfaces:
java.io.Serializable

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

This element defines the properties used when constructing an InitialContext. Users only need to specify this if an external JNDI provider is being used. Typically the java.naming.factory.initial property must be supplied, with the fully qualified name of the factory class that will create an initial context.

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

Constructor Summary
JndiConfiguration()
           
 
Method Summary
 void addProperty(int index, Property vProperty)
          Method addProperty
 void addProperty(Property vProperty)
          Method addProperty
 void clearProperty()
          Method clearProperty
 java.util.Enumeration enumerateProperty()
          Method enumerateProperty
 Property[] getProperty()
          Method getProperty
 Property getProperty(int index)
          Method getProperty
 int getPropertyCount()
          Method getPropertyCount
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 boolean removeProperty(Property vProperty)
          Method removeProperty
 void setProperty(int index, Property vProperty)
          Method setProperty
 void setProperty(Property[] propertyArray)
          Method setProperty
static JndiConfiguration 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

JndiConfiguration

public JndiConfiguration()
Method Detail

addProperty

public void addProperty(Property vProperty)
                 throws java.lang.IndexOutOfBoundsException
Method addProperty
Parameters:
vProperty -  

addProperty

public void addProperty(int index,
                        Property vProperty)
                 throws java.lang.IndexOutOfBoundsException
Method addProperty
Parameters:
index -  
vProperty -  

clearProperty

public void clearProperty()
Method clearProperty

enumerateProperty

public java.util.Enumeration enumerateProperty()
Method enumerateProperty

getProperty

public Property getProperty(int index)
                     throws java.lang.IndexOutOfBoundsException
Method getProperty
Parameters:
index -  

getProperty

public Property[] getProperty()
Method getProperty

getPropertyCount

public int getPropertyCount()
Method getPropertyCount

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 -  

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 -  

removeProperty

public boolean removeProperty(Property vProperty)
Method removeProperty
Parameters:
vProperty -  

setProperty

public void setProperty(int index,
                        Property vProperty)
                 throws java.lang.IndexOutOfBoundsException
Method setProperty
Parameters:
index -  
vProperty -  

setProperty

public void setProperty(Property[] propertyArray)
Method setProperty
Parameters:
propertyArray -  

unmarshal

public static JndiConfiguration unmarshal(java.io.Reader reader)
                                   throws org.exolab.castor.xml.MarshalException,
                                          org.exolab.castor.xml.ValidationException
Method unmarshal
Parameters:
reader -  

validate

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


Copyright © 1999-2004 The OpenJMS Group. All Rights Reserved.