public class ConnectorStoreAppender extends StoreAppender
| Modifier and Type | Field and Description |
|---|---|
protected static java.util.HashMap<java.lang.String,java.lang.String> |
replacements |
| Constructor and Description |
|---|
ConnectorStoreAppender() |
| Modifier and Type | Method and Description |
|---|---|
protected java.io.File |
getCatalinaBase() |
protected java.io.File |
getJkHomeBase(java.lang.String jkHome,
java.io.File appBase) |
protected java.util.List<java.lang.String> |
getPropertyKeys(Connector bean)
Get all properties from Connector and current ProtocolHandler.
|
boolean |
isPrintValue(java.lang.Object bean,
java.lang.Object bean2,
java.lang.String attrName,
StoreDescription desc)
Print Connector Values.
|
void |
printAttributes(java.io.PrintWriter writer,
int indent,
boolean include,
java.lang.Object bean,
StoreDescription desc)
Store the relevant attributes of the specified JavaBean.
|
void |
printOpenTag(java.io.PrintWriter aWriter,
int indent,
java.lang.Object bean,
StoreDescription aDesc)
Print the open tag for connector attributes (override).
|
void |
printTag(java.io.PrintWriter aWriter,
int indent,
java.lang.Object bean,
StoreDescription aDesc)
Print a tag for connector attributes (override).
|
void |
printValue(java.io.PrintWriter writer,
int indent,
java.lang.String name,
java.lang.Object value)
Print a value but replace certain attribute names.
|
protected void |
storeConnectorAttributes(java.io.PrintWriter aWriter,
int indent,
java.lang.Object bean,
StoreDescription aDesc)
Print Attributes for the connector
|
checkAttribute, convertStr, defaultInstance, isPersistable, printAttribute, printAttributes, printCloseTag, printIndent, printTagArray, printTagContent, printTagValueArrayprotected static final java.util.HashMap<java.lang.String,java.lang.String> replacements
public void printAttributes(java.io.PrintWriter writer,
int indent,
boolean include,
java.lang.Object bean,
StoreDescription desc)
throws java.lang.Exception
StoreAppenderprintAttributes in class StoreAppenderwriter - PrintWriter to which we are storingindent - Indentation levelinclude - Should we include a className attribute?bean - Bean whose properties are to be rendered as attributes,desc - RegistryDescriptor from this beanjava.lang.Exception - if an exception occurs while storingprotected java.util.List<java.lang.String> getPropertyKeys(Connector bean) throws java.beans.IntrospectionException
bean - The connectorjava.beans.IntrospectionException - Error intropecting connectorprotected void storeConnectorAttributes(java.io.PrintWriter aWriter,
int indent,
java.lang.Object bean,
StoreDescription aDesc)
throws java.lang.Exception
aWriter - Current writerindent - Indentation levelbean - The connector beanaDesc - The connector descriptionjava.lang.Exception - Store error occurredpublic void printOpenTag(java.io.PrintWriter aWriter,
int indent,
java.lang.Object bean,
StoreDescription aDesc)
throws java.lang.Exception
printOpenTag in class StoreAppenderaWriter - The output writerindent - Indentation levelbean - The current bean that is storedaDesc - Store description of the current elementjava.lang.Exception - A store error occurredStoreAppender.printOpenTag(java.io.PrintWriter,
int, java.lang.Object,
org.apache.catalina.storeconfig.StoreDescription)public void printTag(java.io.PrintWriter aWriter,
int indent,
java.lang.Object bean,
StoreDescription aDesc)
throws java.lang.Exception
printTag in class StoreAppenderaWriter - The output writerindent - Indentation levelbean - The current bean that is storedaDesc - Store description of the current elementjava.lang.Exception - A store error occurredStoreAppender.printTag(java.io.PrintWriter,
int, java.lang.Object,
org.apache.catalina.storeconfig.StoreDescription)public void printValue(java.io.PrintWriter writer,
int indent,
java.lang.String name,
java.lang.Object value)
printValue in class StoreAppenderwriter - PrintWriter to which we are storingindent - Indentation levelname - Attribute namevalue - Attribute valueStoreAppender.printValue(java.io.PrintWriter,
int, java.lang.String, java.lang.Object)public boolean isPrintValue(java.lang.Object bean,
java.lang.Object bean2,
java.lang.String attrName,
StoreDescription desc)
isPrintValue in class StoreAppenderbean - original beanbean2 - default beanattrName - attribute namedesc - StoreDescription from beantrue if the value should be storedStoreAppender.isPrintValue(java.lang.Object,
java.lang.Object, java.lang.String,
org.apache.catalina.storeconfig.StoreDescription)protected java.io.File getCatalinaBase()
protected java.io.File getJkHomeBase(java.lang.String jkHome,
java.io.File appBase)
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.