org.exolab.jms.config
Class AdminConfiguration

java.lang.Object
  |
  +--org.exolab.jms.config.AdminConfiguration
All Implemented Interfaces:
java.io.Serializable

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

This element defines items specific to OpenJMS administration.

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

Constructor Summary
AdminConfiguration()
           
 
Method Summary
 java.lang.String getConfig()
          Returns the value of field 'config'.
 java.lang.String getScript()
          Returns the value of field 'script'.
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 void setConfig(java.lang.String config)
          Sets the value of field 'config'.
 void setScript(java.lang.String script)
          Sets the value of field 'script'.
static AdminConfiguration 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

AdminConfiguration

public AdminConfiguration()
Method Detail

getConfig

public java.lang.String getConfig()
Returns the value of field 'config'. The field 'config' has the following description: The XML configuration file to run the OpenJMS server with.
Returns:
the value of field 'config'.

getScript

public java.lang.String getScript()
Returns the value of field 'script'. The field 'script' has the following description: The path of the script to start the OpenJMS server.
Returns:
the value of field 'script'.

isValid

public boolean isValid()
Method isValid

marshal

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

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 -  

setConfig

public void setConfig(java.lang.String config)
Sets the value of field 'config'. The field 'config' has the following description: The XML configuration file to run the OpenJMS server with.
Parameters:
config - the value of field 'config'.

setScript

public void setScript(java.lang.String script)
Sets the value of field 'script'. The field 'script' has the following description: The path of the script to start the OpenJMS server.
Parameters:
script - the value of field 'script'.

unmarshal

public static AdminConfiguration unmarshal(java.io.Reader reader)
                                    throws org.exolab.castor.xml.MarshalException,
                                           org.exolab.castor.xml.ValidationException
Method unmarshal
Parameters:
reader -  

validate

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


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