org.exolab.jms.config
Class ConnectorResource

java.lang.Object
  extended by org.exolab.jms.config.ConnectorResource
All Implemented Interfaces:
java.io.Serializable

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

Class ConnectorResource.

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

Constructor Summary
ConnectorResource()
           
 
Method Summary
 Admin getAdmin()
          Returns the value of field 'admin'.
 java.lang.String getDescription()
          Returns the value of field 'description'.
 Jndi getJndi()
          Returns the value of field 'jndi'.
 SchemeType getScheme()
          Returns the value of field 'scheme'.
 Server getServer()
          Returns the value of field 'server'.
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 void setAdmin(Admin admin)
          Sets the value of field 'admin'.
 void setDescription(java.lang.String description)
          Sets the value of field 'description'.
 void setJndi(Jndi jndi)
          Sets the value of field 'jndi'.
 void setScheme(SchemeType scheme)
          Sets the value of field 'scheme'.
 void setServer(Server server)
          Sets the value of field 'server'.
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

ConnectorResource

public ConnectorResource()
Method Detail

getAdmin

public Admin getAdmin()
Returns the value of field 'admin'.

Returns:
Admin

getDescription

public java.lang.String getDescription()
Returns the value of field 'description'.

Returns:
String

getJndi

public Jndi getJndi()
Returns the value of field 'jndi'.

Returns:
Jndi

getScheme

public SchemeType getScheme()
Returns the value of field 'scheme'.

Returns:
SchemeType

getServer

public Server getServer()
Returns the value of field 'server'.

Returns:
Server

isValid

public boolean isValid()
Method isValid

Returns:
boolean

marshal

public void marshal(java.io.Writer out)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Method marshal

Parameters:
out -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

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 -
Throws:
java.io.IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

setAdmin

public void setAdmin(Admin admin)
Sets the value of field 'admin'.

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

setDescription

public void setDescription(java.lang.String description)
Sets the value of field 'description'.

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

setJndi

public void setJndi(Jndi jndi)
Sets the value of field 'jndi'.

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

setScheme

public void setScheme(SchemeType scheme)
Sets the value of field 'scheme'.

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

setServer

public void setServer(Server server)
Sets the value of field 'server'.

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

unmarshal

public static java.lang.Object unmarshal(java.io.Reader reader)
                                  throws org.exolab.castor.xml.MarshalException,
                                         org.exolab.castor.xml.ValidationException
Method unmarshal

Parameters:
reader -
Returns:
Object
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

validate

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

Throws:
org.exolab.castor.xml.ValidationException


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