public class ConnectorStoreAppender extends StoreAppender
| Modifier and Type | Field and Description |
|---|---|
protected static HashMap<String,String> |
replacements |
| Constructor and Description |
|---|
ConnectorStoreAppender() |
| Modifier and Type | Method and Description |
|---|---|
protected File |
getCatalinaBase() |
protected File |
getJkHomeBase(String jkHome,
File appBase) |
protected List<String> |
getPropertyKeys(Connector bean)
Get all properties from Connector and current ProtocolHandler
|
boolean |
isPrintValue(Object bean,
Object bean2,
String attrName,
StoreDescription desc)
print this Attribute value or not
|
void |
printAttributes(PrintWriter writer,
int indent,
boolean include,
Object bean,
StoreDescription desc)
Store the relevant attributes of the specified JavaBean.
|
void |
printOpenTag(PrintWriter aWriter,
int indent,
Object bean,
StoreDescription aDesc)
print only the open tag with all attributes
|
void |
printTag(PrintWriter aWriter,
int indent,
Object bean,
StoreDescription aDesc)
print a tag for connector attributes (override)
|
void |
printValue(PrintWriter writer,
int indent,
String name,
Object value)
print a value but replace attribute name
|
protected void |
storeConnectorAttribtues(PrintWriter aWriter,
int indent,
Object bean,
StoreDescription aDesc)
print Attributes
|
convertStr, defaultInstance, isPersistable, printAttribute, printAttributes, printCloseTag, printIndent, printTagArray, printTagContent, printTagValueArraypublic void printAttributes(PrintWriter writer, int indent, boolean include, Object bean, StoreDescription desc) throws Exception
printAttributes in class StoreAppenderwriter - PrintWriter to which we are storinginclude - Should we include a className attribute?bean - Bean whose properties are to be rendered as attributes,desc - RegistryDescrpitor from this beanException - if an exception occurs while storingprotected List<String> getPropertyKeys(Connector bean) throws IntrospectionException
bean - IntrospectionExceptionprotected void storeConnectorAttribtues(PrintWriter aWriter, int indent, Object bean, StoreDescription aDesc) throws Exception
aWriter - indent - bean - aDesc - Exceptionpublic void printOpenTag(PrintWriter aWriter, int indent, Object bean, StoreDescription aDesc) throws Exception
StoreAppenderprintOpenTag in class StoreAppenderExceptionpublic void printTag(PrintWriter aWriter, int indent, Object bean, StoreDescription aDesc) throws Exception
printTag in class StoreAppenderExceptionStoreAppender.printTag(java.io.PrintWriter,
int, java.lang.Object,
org.apache.catalina.storeconfig.StoreDescription)public void printValue(PrintWriter writer, int indent, String name, Object value)
printValue in class StoreAppenderwriter - name - value - StoreAppender.printValue(java.io.PrintWriter,
int, java.lang.String, java.lang.Object)public boolean isPrintValue(Object bean, Object bean2, String attrName, StoreDescription desc)
StoreAppenderisPrintValue in class StoreAppenderbean - orginal beanbean2 - default beanattrName - attribute namedesc - StoreDescription from beanprotected File getCatalinaBase()
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.