org.neo.swarm.config
Class JMXConfig

java.lang.Object
  extended byorg.neo.swarm.config.DynamicConfig
      extended byorg.neo.swarm.config.JMXConfig
All Implemented Interfaces:
Config

public class JMXConfig
extends DynamicConfig

Same as SimpleConfig but uses JMX orthogonal aspects for JMX Management wih MX4J.

Author:
navery

Constructor Summary
JMXConfig(java.lang.String uri, java.net.InetAddress myAddress, int myPort, int JmxPort, boolean loggingEabled)
           
 
Method Summary
 SwarmContainer setup()
           
protected  void setupTcpService(ApplicationContext context)
           
 void startHttpAdaptor()
          Starts the http server on the configured port.
 void startRMIAdaptor()
          Support for MC4J to connect using RMI, see http://mc4j.sourceforge.net
 
Methods inherited from class org.neo.swarm.config.DynamicConfig
createAppContext, setupAppContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JMXConfig

public JMXConfig(java.lang.String uri,
                 java.net.InetAddress myAddress,
                 int myPort,
                 int JmxPort,
                 boolean loggingEabled)
Method Detail

setup

public SwarmContainer setup()
                     throws java.lang.Exception
Specified by:
setup in interface Config
Overrides:
setup in class DynamicConfig
Throws:
java.lang.Exception

setupTcpService

protected void setupTcpService(ApplicationContext context)
                        throws java.lang.Exception
Overrides:
setupTcpService in class DynamicConfig
Throws:
java.lang.Exception

startHttpAdaptor

public void startHttpAdaptor()
Starts the http server on the configured port.


startRMIAdaptor

public void startRMIAdaptor()
Support for MC4J to connect using RMI, see http://mc4j.sourceforge.net



Copyright © 2001-2004 SWARM-ONE -First Generation (S)calable(W)ide(AR)ea(M)esh. All Rights Reserved.