org.apache.catalina.ha.util
Interface IDynamicProperty

All Known Implementing Classes:
SimpleTcpCluster

public interface IDynamicProperty

Version:
$Revision: 467222 $, $Date: 2006-10-24 05:17:11 +0200 (mar., 24 oct. 2006) $
Author:
Peter Rossbach

Method Summary
 java.lang.Object getProperty(java.lang.String key)
          get current config
 java.util.Iterator getPropertyNames()
          Get all properties keys
 void removeProperty(java.lang.String key)
          remove a configured property.
 void setProperty(java.lang.String name, java.lang.Object value)
          set config attributes with reflect
 

Method Detail

setProperty

void setProperty(java.lang.String name,
                 java.lang.Object value)
set config attributes with reflect

Parameters:
name -
value -

getProperty

java.lang.Object getProperty(java.lang.String key)
get current config

Parameters:
key -
Returns:
The property

getPropertyNames

java.util.Iterator getPropertyNames()
Get all properties keys

Returns:
An iterator over the property names

removeProperty

void removeProperty(java.lang.String key)
remove a configured property.

Parameters:
key -


Copyright © 2000-2006 Apache Software Foundation. All Rights Reserved.