org.moremotion.config
Class Config

java.lang.Object
  extended by org.moremotion.config.Config
Direct Known Subclasses:
ActionServiceConfig, DataSourceConfig, LoggerConfig, MScriptFunctionConfig, ProcessCommand, ProcessConfig, ProcessTemplateConfig, SecurityBrokerConfig, StartableConfig

public class Config
extends java.lang.Object

Base Class for Config Classes

Version:
$Id: Config.java 573 2010-03-12 19:19:07Z erkan $

Constructor Summary
Config(ConfigUnit unit, boolean parse)
           
 
Method Summary
 ConfigUnit getConfigUnit()
           
 java.lang.Object getDataObject()
           
 java.lang.String getName()
           
 ConfigParameter getParameter(java.lang.String name)
          Returns the value of the specified special parameter
 java.util.HashMap getParameters()
          Returns the special parameters (non-standard) of the configuration
 java.lang.String getType()
           
 void setDataObject(java.lang.Object data)
           
 void setName(java.lang.String name)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Config

public Config(ConfigUnit unit,
              boolean parse)
       throws ConfigurationException
Throws:
ConfigurationException
Method Detail

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

getType

public java.lang.String getType()

getConfigUnit

public ConfigUnit getConfigUnit()

setDataObject

public void setDataObject(java.lang.Object data)

getDataObject

public java.lang.Object getDataObject()

getParameter

public ConfigParameter getParameter(java.lang.String name)
                             throws ConfigParameterException
Returns the value of the specified special parameter

Throws:
ConfigParameterException

getParameters

public java.util.HashMap getParameters()
Returns the special parameters (non-standard) of the configuration



Copyright © 2002-2011 MOR YAZILIM. All Rights Reserved.