org.apache.avalon.logging.impl
Class ConfigurationParameter

java.lang.Object
  extended byorg.apache.avalon.util.criteria.Parameter
      extended byorg.apache.avalon.logging.impl.ConfigurationParameter
All Implemented Interfaces:
Serializable

public class ConfigurationParameter
extends Parameter

A parameter descriptor that supports transformation of a a string url to an URL instance.

Version:
$Revision: 1.4 $
Author:
Avalon Development Team
See Also:
Serialized Form

Constructor Summary
ConfigurationParameter(String key)
          Transform a string to a string array.
 
Method Summary
 Object resolve(Object value)
          Resolve a supplied string to a configuration
 
Methods inherited from class org.apache.avalon.util.criteria.Parameter
getDefault, getKey, getKeys, getParameterClass, isOptional, isRequired, resolve
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigurationParameter

public ConfigurationParameter(String key)
Transform a string to a string array.

Parameters:
key - the parameter key
Method Detail

resolve

public Object resolve(Object value)
               throws CriteriaException
Resolve a supplied string to a configuration

Parameters:
value - the value to resolve
Throws:
CriteriaException - if an error occurs


Copyright © The Apache Software Foundation. All Rights Reserved.