org.openejb.config.sys
Class Lookup

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

public class Lookup
extends Object
implements Serializable

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

Constructor Summary
Lookup()
           
 
Method Summary
 String getJndiName()
          Returns the value of field 'jndiName'.
 String getJndiProviderId()
          Returns the value of field 'jndiProviderId'.
 boolean isValid()
           
 void marshal(DocumentHandler handler)
           
 void marshal(Writer out)
           
 void setJndiName(String jndiName)
          Sets the value of field 'jndiName'.
 void setJndiProviderId(String jndiProviderId)
          Sets the value of field 'jndiProviderId'.
static Lookup 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

Lookup

public Lookup()
Method Detail

getJndiName

public String getJndiName()
Returns the value of field 'jndiName'.

Returns:
the value of field 'jndiName'.

getJndiProviderId

public String getJndiProviderId()
Returns the value of field 'jndiProviderId'.

Returns:
the value of field 'jndiProviderId'.

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

setJndiName

public void setJndiName(String jndiName)
Sets the value of field 'jndiName'.

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

setJndiProviderId

public void setJndiProviderId(String jndiProviderId)
Sets the value of field 'jndiProviderId'.

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

unmarshal

public static Lookup 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.