public final class WrapperObjectFactory extends AbstractObjectFactory
| Modifier and Type | Field and Description |
|---|---|
private BCELWrapperGenerator |
m_wrapperGenerator
The
BCELWrapperGenerator to use for creating the wrapper. |
m_delegateFactory| Constructor and Description |
|---|
WrapperObjectFactory(org.d_haven.mpool.ObjectFactory objectFactory)
Creates a
WrapperObjectFactory with the specified
ObjectFactory as the
object factory to delegate all calls for new instances to. |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose(java.lang.Object object) |
java.lang.Object |
newInstance() |
getChildInstrumentables, getCreatedClass, getInstrumentableName, getInstruments, guessWorkInterfaces, setInstrumentableNameprivate final BCELWrapperGenerator m_wrapperGenerator
BCELWrapperGenerator to use for creating the wrapper.public WrapperObjectFactory(org.d_haven.mpool.ObjectFactory objectFactory)
throws java.lang.IllegalArgumentException
WrapperObjectFactory with the specified
ObjectFactory as the
object factory to delegate all calls for new instances to.objectFactory - The ObjectFactory to sue when creating new instancesjava.lang.IllegalArgumentException - If objFactory is
nullpublic java.lang.Object newInstance()
throws java.lang.Exception
newInstance in interface org.d_haven.mpool.ObjectFactorynewInstance in class AbstractObjectFactoryjava.lang.ExceptionObjectFactory.newInstance()public void dispose(java.lang.Object object)
throws java.lang.Exception
dispose in interface org.d_haven.mpool.ObjectFactorydispose in class AbstractObjectFactoryjava.lang.ExceptionObjectFactory.dispose(java.lang.Object)