org.openejb.config.sys
Class JndiProvider

java.lang.Object
  extended byorg.openejb.config.sys.JndiProvider
All Implemented Interfaces:
Serializable, Service

public class JndiProvider
extends Object
implements Serializable, Service

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

Constructor Summary
JndiProvider()
           
 
Method Summary
 String getContent()
          Returns the value of field 'content'.
 String getId()
          Returns the value of field 'id'.
 String getJar()
          Returns the value of field 'jar'.
 String getProvider()
          Returns the value of field 'provider'.
 boolean isValid()
           
 void marshal(DocumentHandler handler)
           
 void marshal(Writer out)
           
 void setContent(String content)
          Sets the value of field 'content'.
 void setId(String id)
          Sets the value of field 'id'.
 void setJar(String jar)
          Sets the value of field 'jar'.
 void setProvider(String provider)
          Sets the value of field 'provider'.
static JndiProvider 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

JndiProvider

public JndiProvider()
Method Detail

getContent

public String getContent()
Returns the value of field 'content'. The field 'content' has the following description: internal content storage

Specified by:
getContent in interface Service
Returns:
the value of field 'content'.

getId

public String getId()
Returns the value of field 'id'.

Specified by:
getId in interface Service
Returns:
the value of field 'id'.

getJar

public String getJar()
Returns the value of field 'jar'.

Specified by:
getJar in interface Service
Returns:
the value of field 'jar'.

getProvider

public String getProvider()
Returns the value of field 'provider'.

Specified by:
getProvider in interface Service
Returns:
the value of field 'provider'.

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

setContent

public void setContent(String content)
Sets the value of field 'content'. The field 'content' has the following description: internal content storage

Specified by:
setContent in interface Service
Parameters:
content - the value of field 'content'.

setId

public void setId(String id)
Sets the value of field 'id'.

Specified by:
setId in interface Service
Parameters:
id - the value of field 'id'.

setJar

public void setJar(String jar)
Sets the value of field 'jar'.

Specified by:
setJar in interface Service
Parameters:
jar - the value of field 'jar'.

setProvider

public void setProvider(String provider)
Sets the value of field 'provider'.

Specified by:
setProvider in interface Service
Parameters:
provider - the value of field 'provider'.

unmarshal

public static JndiProvider 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
Specified by:
validate in interface Service
Throws:
org.exolab.castor.xml.ValidationException


Copyright © 1999-2005 OpenEJB. All Rights Reserved.