Package org.apache.tomcat.dbcp.pool2
Class BaseObject
- java.lang.Object
-
- org.apache.tomcat.dbcp.pool2.BaseObject
-
- Direct Known Subclasses:
BaseGenericObjectPool
,BaseKeyedPooledObjectFactory
,BaseObjectPool
,BaseObjectPoolConfig
,BasePooledObjectFactory
public abstract class BaseObject extends java.lang.Object
A base class for common functionality.- Since:
- 2.4.3
-
-
Constructor Summary
Constructors Constructor Description BaseObject()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
protected void
toStringAppendFields(java.lang.StringBuilder builder)
Used by sub-classes to include the fields defined by the sub-class in thetoString()
output.
-
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
toStringAppendFields
protected void toStringAppendFields(java.lang.StringBuilder builder)
Used by sub-classes to include the fields defined by the sub-class in thetoString()
output.- Parameters:
builder
- Field names and values are appended to this object
-
-