jpel.remote.resolver
Class ConfigurationServer

java.lang.Object
  |
  +--jpel.remote.resolver.ConfigurationServer
All Implemented Interfaces:
java.util.EventListener, GenericSocketServerListener

public class ConfigurationServer
extends java.lang.Object
implements GenericSocketServerListener


Field Summary
static java.lang.String EXECUTE
           
static java.lang.String LOAD
           
static java.lang.String RELOAD
           
static java.lang.String SOURCE
           
 
Constructor Summary
ConfigurationServer(int port, Configuration configuration)
           
 
Method Summary
 Configuration getConfiguration()
           
 java.lang.Object getSource()
           
 void load(java.lang.Object obj)
           
 java.lang.Object process(java.lang.Object command)
           
 void processCommand(jpel.remote.util.GenericSocketServerEvent e)
           
 void reload()
           
 void setConfiguration(Configuration configuration)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOAD

public static final java.lang.String LOAD
See Also:
Constant Field Values

SOURCE

public static final java.lang.String SOURCE
See Also:
Constant Field Values

RELOAD

public static final java.lang.String RELOAD
See Also:
Constant Field Values

EXECUTE

public static final java.lang.String EXECUTE
See Also:
Constant Field Values
Constructor Detail

ConfigurationServer

public ConfigurationServer(int port,
                           Configuration configuration)
                    throws ConfigurationException
Method Detail

setConfiguration

public void setConfiguration(Configuration configuration)

getConfiguration

public Configuration getConfiguration()

load

public void load(java.lang.Object obj)
          throws ConfigurationException
ConfigurationException

getSource

public java.lang.Object getSource()
                           throws ConfigurationException
ConfigurationException

reload

public void reload()
            throws ConfigurationException
ConfigurationException

process

public java.lang.Object process(java.lang.Object command)
                         throws ConfigurationException
ConfigurationException

processCommand

public void processCommand(jpel.remote.util.GenericSocketServerEvent e)
Specified by:
processCommand in interface GenericSocketServerListener