org.neo.swarm.config
Class DynamicConfig

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

public class DynamicConfig
extends java.lang.Object
implements Config

Provides simple setup of the SwarmContainer.

Author:
navery

Constructor Summary
DynamicConfig(java.lang.String uri, java.net.InetAddress myAddress, int port, boolean enableLogging)
           
 
Method Summary
protected  SwarmApplicationContext createAppContext(SilcAspectContainer aspectContainer)
           
 SwarmContainer setup()
           
protected  void setupAppContext(SwarmContainer container)
           
protected  void setupTcpService(ApplicationContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DynamicConfig

public DynamicConfig(java.lang.String uri,
                     java.net.InetAddress myAddress,
                     int port,
                     boolean enableLogging)
Method Detail

setup

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

createAppContext

protected SwarmApplicationContext createAppContext(SilcAspectContainer aspectContainer)

setupAppContext

protected void setupAppContext(SwarmContainer container)

setupTcpService

protected void setupTcpService(ApplicationContext context)
                        throws java.lang.Exception
Throws:
java.lang.Exception


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