jpel.remote.resolver
Class DynamicConfigurationClient

java.lang.Object
  |
  +--jpel.resolver.ConfigurationImpl
        |
        +--jpel.resolver.StaticConfigurationImpl
              |
              +--jpel.resolver.DynamicConfigurationImpl
                    |
                    +--jpel.remote.resolver.DynamicConfigurationClient
All Implemented Interfaces:
Configuration, DynamicConfiguration, StaticConfiguration

public class DynamicConfigurationClient
extends DynamicConfigurationImpl


Constructor Summary
DynamicConfigurationClient(java.lang.String host, int port)
           
 
Method Summary
 void load(java.lang.Object obj)
          Carrega uma configuração.
 java.lang.Object process(java.lang.Object command)
          Processa um objeto.
 void reload()
          Recarrega todos os recursos usados pela configuração.
 
Methods inherited from class jpel.resolver.DynamicConfigurationImpl
bind, bind, bind, clear, execute, getBinder, getList, rebind, setBinder, setList
 
Methods inherited from class jpel.resolver.StaticConfigurationImpl
getBoolean, getBoolean, getBooleanArray, getBooleanArray, getBooleanObject, getBooleanObject, getBooleanObjectArray, getBooleanObjectArray, getByte, getByte, getByteArray, getByteArray, getByteObject, getByteObject, getByteObjectArray, getByteObjectArray, getChar, getChar, getCharArray, getCharArray, getCharObject, getCharObject, getCharObjectArray, getCharObjectArray, getDouble, getDouble, getDoubleArray, getDoubleArray, getDoubleObject, getDoubleObject, getDoubleObjectArray, getDoubleObjectArray, getFloat, getFloat, getFloatArray, getFloatArray, getFloatObject, getFloatObject, getFloatObjectArray, getFloatObjectArray, getInt, getInt, getIntArray, getIntArray, getInterpreter, getIntObject, getIntObject, getIntObjectArray, getIntObjectArray, getLong, getLong, getLongArray, getLongArray, getLongObject, getLongObject, getLongObjectArray, getLongObjectArray, getObject, getObject, getObjectArray, getObjectArray, getShort, getShort, getShortArray, getShortArray, getShortObject, getShortObject, getShortObjectArray, getShortObjectArray, getString, getString, getStringArray, getStringArray, setInterpreter
 
Methods inherited from class jpel.resolver.ConfigurationImpl
getEnvironment, getEnvironmentLoader, getExpressionParser, getSource, setEnvironment, setEnvironmentLoader, setExpressionParser, setSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface jpel.resolver.StaticConfiguration
getBoolean, getBoolean, getBooleanArray, getBooleanArray, getBooleanObject, getBooleanObject, getBooleanObjectArray, getBooleanObjectArray, getByte, getByte, getByteArray, getByteArray, getByteObject, getByteObject, getByteObjectArray, getByteObjectArray, getChar, getChar, getCharArray, getCharArray, getCharObject, getCharObject, getCharObjectArray, getCharObjectArray, getDouble, getDouble, getDoubleArray, getDoubleArray, getDoubleObject, getDoubleObject, getDoubleObjectArray, getDoubleObjectArray, getFloat, getFloat, getFloatArray, getFloatArray, getFloatObject, getFloatObject, getFloatObjectArray, getFloatObjectArray, getInt, getInt, getIntArray, getIntArray, getIntObject, getIntObject, getIntObjectArray, getIntObjectArray, getLong, getLong, getLongArray, getLongArray, getLongObject, getLongObject, getLongObjectArray, getLongObjectArray, getObject, getObject, getObjectArray, getObjectArray, getShort, getShort, getShortArray, getShortArray, getShortObject, getShortObject, getShortObjectArray, getShortObjectArray, getString, getString, getStringArray, getStringArray
 
Methods inherited from interface jpel.resolver.Configuration
getSource
 

Constructor Detail

DynamicConfigurationClient

public DynamicConfigurationClient(java.lang.String host,
                                  int port)
                           throws ConfigurationException
Method Detail

load

public void load(java.lang.Object obj)
          throws ConfigurationException
Description copied from interface: Configuration
Carrega uma configuração.

Specified by:
load in interface Configuration
Overrides:
load in class DynamicConfigurationImpl
Parameters:
obj - Objeto com os dados, ou meta-dados, para carregar um ambiente.
Throws:
ConfigurationException - Quando há problemas na leitura da configuração.

reload

public void reload()
            throws ConfigurationException
Description copied from interface: Configuration
Recarrega todos os recursos usados pela configuração.

Specified by:
reload in interface Configuration
Overrides:
reload in class DynamicConfigurationImpl
Throws:
ConfigurationException - Quando não foi possível realizar o reload().

process

public java.lang.Object process(java.lang.Object command)
                         throws ConfigurationException
Description copied from interface: Configuration
Processa um objeto.

Specified by:
process in interface Configuration
Overrides:
process in class ConfigurationImpl
Parameters:
command - Objeto a ser processado.
Returns:
Objeto resultado de uma processamento sobre a entrada.
Throws:
ConfigurationException - Quando houve erro no processamento do objeto.