|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.catalina.storeconfig.StoreAppender
org.apache.catalina.storeconfig.ConnectorStoreAppender
Store the Connector attributes. Connector has really special design. A Connector is only a startup Wrapper for a ProtocolHandler. This meant that ProtocolHandler get all there attribtues from the Connector attribtue map. Strange is that some attributes change there name and the attribute sslProtocol need a sepzial handling
| Field Summary | |
protected static java.util.HashMap |
replacements
|
| Constructor Summary | |
ConnectorStoreAppender()
|
|
| Method Summary | |
protected java.io.File |
getCatalinaBase()
|
protected java.io.File |
getJkHomeBase(java.lang.String jkHome,
java.io.File appBase)
|
protected java.util.List |
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 this Attribute value or not |
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 only the open tag with all attributes |
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 attribute name |
protected void |
storeConnectorAttribtues(java.io.PrintWriter aWriter,
int indent,
java.lang.Object bean,
StoreDescription aDesc)
print Attributes |
| Methods inherited from class org.apache.catalina.storeconfig.StoreAppender |
convertStr, defaultInstance, isPersistable, printAttribute, printAttributes, printCloseTag, printIndent, printTagArray, printTagContent, printTagValueArray |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected static java.util.HashMap replacements
| Constructor Detail |
public ConnectorStoreAppender()
| Method Detail |
public void printAttributes(java.io.PrintWriter writer,
int indent,
boolean include,
java.lang.Object bean,
StoreDescription desc)
throws java.lang.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 bean
java.lang.Exception - if an exception occurs while storing
protected java.util.List getPropertyKeys(Connector bean)
throws java.beans.IntrospectionException
bean -
java.beans.IntrospectionException
protected void storeConnectorAttribtues(java.io.PrintWriter aWriter,
int indent,
java.lang.Object bean,
StoreDescription aDesc)
throws java.lang.Exception
aWriter - indent - bean - aDesc -
java.lang.Exception
public void printOpenTag(java.io.PrintWriter aWriter,
int indent,
java.lang.Object bean,
StoreDescription aDesc)
throws java.lang.Exception
StoreAppender
printOpenTag in class StoreAppenderaWriter - indent - bean - aDesc -
java.lang.Exception
public void printTag(java.io.PrintWriter aWriter,
int indent,
java.lang.Object bean,
StoreDescription aDesc)
throws java.lang.Exception
printTag in class StoreAppenderaWriter - indent - bean - aDesc -
java.lang.ExceptionStoreAppender.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 - name - value - StoreAppender.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)
StoreAppender
isPrintValue in class StoreAppenderbean - orginal beanbean2 - default beanattrName - attribute namedesc - StoreDescription from bean
protected java.io.File getCatalinaBase()
protected java.io.File getJkHomeBase(java.lang.String jkHome,
java.io.File appBase)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||