org.jboss.remoting
Class ServerConfiguration

java.lang.Object
  extended by org.jboss.remoting.ServerConfiguration

public class ServerConfiguration
extends java.lang.Object

ServerConfiguration can hold all parameters used to configure an org.jboss.remoting.transport.Connector. Though it can be used programmatically, it is primarily meant to be used as a replacement for the xml element currently used for external configuration of a Connector. In particular, it is meant to be constructed by the microcontainer from a jboss-beans.xml file and injected into the Connector. For an example of the use of ServerConfiguration with the microcontainer, see the configuration file remoting-jboss-beans.xml in the server/default/deploy directory of the JBoss Application Server 5.0.0.

Version:
$Revision: 5046 $

Copyright Oct 13, 2007

Author:
Ron Sigal

Constructor Summary
ServerConfiguration()
           
ServerConfiguration(java.lang.String transport)
           
 
Method Summary
 java.util.Map getInvocationHandlers()
           
 java.util.Map getInvokerLocatorParameters()
           
 java.util.Map getServerParameters()
           
 java.lang.String getTransport()
           
 void setInvocationHandlers(java.util.Map invocationHandlers)
           
 void setInvokerLocatorParameters(java.util.Map invokerLocatorParameters)
           
 void setServerParameters(java.util.Map serverParameters)
           
 void setTransport(java.lang.String transport)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerConfiguration

public ServerConfiguration(java.lang.String transport)

ServerConfiguration

public ServerConfiguration()
Method Detail

getInvocationHandlers

public java.util.Map getInvocationHandlers()

setInvocationHandlers

public void setInvocationHandlers(java.util.Map invocationHandlers)

getInvokerLocatorParameters

public java.util.Map getInvokerLocatorParameters()

setInvokerLocatorParameters

public void setInvokerLocatorParameters(java.util.Map invokerLocatorParameters)

getServerParameters

public java.util.Map getServerParameters()

setServerParameters

public void setServerParameters(java.util.Map serverParameters)

getTransport

public java.lang.String getTransport()

setTransport

public void setTransport(java.lang.String transport)


Copyright ? 1998-2005 JBoss Inc . All Rights Reserved.