org.openejb.alt.config.sys
Class Lookup
java.lang.Object
|
+--org.openejb.alt.config.sys.Lookup
- All Implemented Interfaces:
- java.io.Serializable
- public class Lookup
- extends java.lang.Object
- implements java.io.Serializable
- Version:
- $Revision: 1.3 $ $Date: 2002/03/12 20:49:50 $
- See Also:
- Serialized Form
Method Summary |
java.lang.String |
getJndiName()
Returns the value of field 'jndiName'. |
java.lang.String |
getJndiProviderId()
Returns the value of field 'jndiProviderId'. |
boolean |
isValid()
|
void |
marshal(org.xml.sax.DocumentHandler handler)
|
void |
marshal(java.io.Writer out)
|
void |
setJndiName(java.lang.String jndiName)
Sets the value of field 'jndiName'. |
void |
setJndiProviderId(java.lang.String jndiProviderId)
Sets the value of field 'jndiProviderId'. |
static Lookup |
unmarshal(java.io.Reader reader)
|
void |
validate()
|
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Lookup
public Lookup()
getJndiName
public java.lang.String getJndiName()
- Returns the value of field 'jndiName'.
- Returns:
- the value of field 'jndiName'.
getJndiProviderId
public java.lang.String getJndiProviderId()
- Returns the value of field 'jndiProviderId'.
- Returns:
- the value of field 'jndiProviderId'.
isValid
public boolean isValid()
marshal
public void marshal(java.io.Writer out)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
- Parameters:
out
-
marshal
public void marshal(org.xml.sax.DocumentHandler handler)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
- Parameters:
handler
-
setJndiName
public void setJndiName(java.lang.String jndiName)
- Sets the value of field 'jndiName'.
- Parameters:
jndiName
- the value of field 'jndiName'.
setJndiProviderId
public void setJndiProviderId(java.lang.String jndiProviderId)
- Sets the value of field 'jndiProviderId'.
- Parameters:
jndiProviderId
- the value of field 'jndiProviderId'.
unmarshal
public static Lookup unmarshal(java.io.Reader reader)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
- Parameters:
reader
-
validate
public void validate()
throws org.exolab.castor.xml.ValidationException