org.apache.catalina.cluster.util
Interface IDynamicProperty

All Known Implementing Classes:
ReplicationTransmitter, SimpleTcpCluster

public interface IDynamicProperty

Version:
$Id: IDynamicProperty.java 939539 2010-04-30 01:31:33Z kkolinko $
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

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

Parameters:
name -
value -

getProperty

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

Parameters:
key -
Returns:
The property

getPropertyNames

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

Returns:
An iterator over the property names

removeProperty

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

Parameters:
key -


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