org.apache.catalina.storeconfig
Class ReplicationTransmitterStoreAppender

java.lang.Object
  extended byorg.apache.catalina.storeconfig.StoreAppender
      extended byorg.apache.catalina.storeconfig.ReplicationTransmitterStoreAppender

public class ReplicationTransmitterStoreAppender
extends StoreAppender

Store the ReplicationTransmitter attributes.

Author:
Peter Rossbach

Constructor Summary
ReplicationTransmitterStoreAppender()
           
 
Method Summary
protected  java.util.List getPropertyKeys(ReplicationTransmitter bean)
          Get all properties from ReplicationTransmitter (also dynamic properties)
 void printAttributes(java.io.PrintWriter writer, int indent, boolean include, java.lang.Object bean, StoreDescription desc)
          Store the relevant attributes of the specified JavaBean.
 
Methods inherited from class org.apache.catalina.storeconfig.StoreAppender
convertStr, defaultInstance, isPersistable, isPrintValue, printAttributes, printCloseTag, printIndent, printOpenTag, printTag, printTagArray, printTagContent, printTagValueArray, printValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReplicationTransmitterStoreAppender

public ReplicationTransmitterStoreAppender()
Method Detail

printAttributes

public void printAttributes(java.io.PrintWriter writer,
                            int indent,
                            boolean include,
                            java.lang.Object bean,
                            StoreDescription desc)
                     throws java.lang.Exception
Store the relevant attributes of the specified JavaBean.

Overrides:
printAttributes in class StoreAppender
Parameters:
writer - PrintWriter to which we are storing
include - Should we include a className attribute?
bean - Bean whose properties are to be rendered as attributes,
desc - RegistryDescrpitor from this bean
Throws:
java.lang.Exception - if an exception occurs while storing

getPropertyKeys

protected java.util.List getPropertyKeys(ReplicationTransmitter bean)
                                  throws java.beans.IntrospectionException
Get all properties from ReplicationTransmitter (also dynamic properties)

Parameters:
bean -
Returns:
List of Connector Properties
Throws:
java.beans.IntrospectionException


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