|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.exolab.jms.config.JndiConfiguration
public class JndiConfiguration
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.
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 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 |
---|
public JndiConfiguration()
Method Detail |
---|
public void addProperty(Property vProperty) throws java.lang.IndexOutOfBoundsException
vProperty
-
java.lang.IndexOutOfBoundsException
public void addProperty(int index, Property vProperty) throws java.lang.IndexOutOfBoundsException
index
- vProperty
-
java.lang.IndexOutOfBoundsException
public void clearProperty()
public java.util.Enumeration enumerateProperty()
public Property getProperty(int index) throws java.lang.IndexOutOfBoundsException
index
-
java.lang.IndexOutOfBoundsException
public Property[] getProperty()
public int getPropertyCount()
public boolean isValid()
public void marshal(java.io.Writer out) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
out
-
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
public void marshal(org.xml.sax.ContentHandler handler) throws java.io.IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
handler
-
java.io.IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
public boolean removeProperty(Property vProperty)
vProperty
-
public void setProperty(int index, Property vProperty) throws java.lang.IndexOutOfBoundsException
index
- vProperty
-
java.lang.IndexOutOfBoundsException
public void setProperty(Property[] propertyArray)
propertyArray
- public static java.lang.Object unmarshal(java.io.Reader reader) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
reader
-
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
public void validate() throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |