org.exolab.jms.config
Class HttpConfigurationType

java.lang.Object
  extended by org.exolab.jms.config.HttpConfigurationType
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
HttpConfiguration, HttpsConfiguration

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

This type defines items specific to HTTP and HTTPS connectors.

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

Constructor Summary
HttpConfigurationType()
           
 
Method Summary
 void deleteClientPingInterval()
          Method deleteClientPingInterval
 void deletePort()
          Method deletePort
 void deleteProxyPort()
          Method deleteProxyPort
 java.lang.String getAdminServlet()
          Returns the value of field 'adminServlet'.
 int getClientPingInterval()
          Returns the value of field 'clientPingInterval'.
 java.lang.String getHost()
          Returns the value of field 'host'.
 java.lang.String getJndiServlet()
          Returns the value of field 'jndiServlet'.
 int getPort()
          Returns the value of field 'port'.
 java.lang.String getProxyHost()
          Returns the value of field 'proxyHost'.
 int getProxyPort()
          Returns the value of field 'proxyPort'.
 java.lang.String getServerServlet()
          Returns the value of field 'serverServlet'.
 boolean hasClientPingInterval()
          Method hasClientPingInterval
 boolean hasPort()
          Method hasPort
 boolean hasProxyPort()
          Method hasProxyPort
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 void setAdminServlet(java.lang.String adminServlet)
          Sets the value of field 'adminServlet'.
 void setClientPingInterval(int clientPingInterval)
          Sets the value of field 'clientPingInterval'.
 void setHost(java.lang.String host)
          Sets the value of field 'host'.
 void setJndiServlet(java.lang.String jndiServlet)
          Sets the value of field 'jndiServlet'.
 void setPort(int port)
          Sets the value of field 'port'.
 void setProxyHost(java.lang.String proxyHost)
          Sets the value of field 'proxyHost'.
 void setProxyPort(int proxyPort)
          Sets the value of field 'proxyPort'.
 void setServerServlet(java.lang.String serverServlet)
          Sets the value of field 'serverServlet'.
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

HttpConfigurationType

public HttpConfigurationType()
Method Detail

deleteClientPingInterval

public void deleteClientPingInterval()
Method deleteClientPingInterval


deletePort

public void deletePort()
Method deletePort


deleteProxyPort

public void deleteProxyPort()
Method deleteProxyPort


getAdminServlet

public java.lang.String getAdminServlet()
Returns the value of field 'adminServlet'. The field 'adminServlet' has the following description: The Administration servlet name.

Returns:
String

getClientPingInterval

public int getClientPingInterval()
Returns the value of field 'clientPingInterval'. The field 'clientPingInterval' has the following description: The client ping interval, specified in seconds. If set to 0, the ping is disabled.

Returns:
int

getHost

public java.lang.String getHost()
Returns the value of field 'host'. The field 'host' has the following description: The web server host.

Returns:
String

getJndiServlet

public java.lang.String getJndiServlet()
Returns the value of field 'jndiServlet'. The field 'jndiServlet' has the following description: The JNDI servlet name.

Returns:
String

getPort

public int getPort()
Returns the value of field 'port'. The field 'port' has the following description: The web server port.

Returns:
int

getProxyHost

public java.lang.String getProxyHost()
Returns the value of field 'proxyHost'. The field 'proxyHost' has the following description: The proxy host used to connect back to clients if required.

Returns:
String

getProxyPort

public int getProxyPort()
Returns the value of field 'proxyPort'. The field 'proxyPort' has the following description: The proxy port used to connect back to clients if required.

Returns:
int

getServerServlet

public java.lang.String getServerServlet()
Returns the value of field 'serverServlet'. The field 'serverServlet' has the following description: The server servlet name.

Returns:
String

hasClientPingInterval

public boolean hasClientPingInterval()
Method hasClientPingInterval

Returns:
boolean

hasPort

public boolean hasPort()
Method hasPort

Returns:
boolean

hasProxyPort

public boolean hasProxyPort()
Method hasProxyPort

Returns:
boolean

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

setAdminServlet

public void setAdminServlet(java.lang.String adminServlet)
Sets the value of field 'adminServlet'. The field 'adminServlet' has the following description: The Administration servlet name.

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

setClientPingInterval

public void setClientPingInterval(int clientPingInterval)
Sets the value of field 'clientPingInterval'. The field 'clientPingInterval' has the following description: The client ping interval, specified in seconds. If set to 0, the ping is disabled.

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

setHost

public void setHost(java.lang.String host)
Sets the value of field 'host'. The field 'host' has the following description: The web server host.

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

setJndiServlet

public void setJndiServlet(java.lang.String jndiServlet)
Sets the value of field 'jndiServlet'. The field 'jndiServlet' has the following description: The JNDI servlet name.

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

setPort

public void setPort(int port)
Sets the value of field 'port'. The field 'port' has the following description: The web server port.

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

setProxyHost

public void setProxyHost(java.lang.String proxyHost)
Sets the value of field 'proxyHost'. The field 'proxyHost' has the following description: The proxy host used to connect back to clients if required.

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

setProxyPort

public void setProxyPort(int proxyPort)
Sets the value of field 'proxyPort'. The field 'proxyPort' has the following description: The proxy port used to connect back to clients if required.

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

setServerServlet

public void setServerServlet(java.lang.String serverServlet)
Sets the value of field 'serverServlet'. The field 'serverServlet' has the following description: The server servlet name.

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

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.