|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.avalon.fortress.impl.factory.AbstractObjectFactory
AbstractObjectFactory does XYZ
Field Summary | |
protected org.d_haven.mpool.ObjectFactory |
m_delegateFactory
The ObjectFactory proper
we delegate all calls to. |
Fields inherited from interface org.apache.excalibur.instrument.Instrumentable |
EMPTY_INSTRUMENT_ARRAY, EMPTY_INSTRUMENTABLE_ARRAY |
Constructor Summary | |
AbstractObjectFactory(org.d_haven.mpool.ObjectFactory objectFactory)
|
Method Summary | |
abstract void |
dispose(java.lang.Object object)
|
Instrumentable[] |
getChildInstrumentables()
Any Object which implements Instrumentable can also make use of other Instrumentable child objects. |
java.lang.Class |
getCreatedClass()
|
java.lang.String |
getInstrumentableName()
Gets the name of the Instrumentable. |
Instrument[] |
getInstruments()
Obtain a reference to all the Instruments that the Instrumentable object wishes to expose. |
protected static java.lang.Class[] |
guessWorkInterfaces(java.lang.Class clazz)
Get a list of interfaces to proxy by scanning through all interfaces a class implements and skipping invalid interfaces (as defined in #INVALID_INTERFACES ). |
abstract java.lang.Object |
newInstance()
|
void |
setInstrumentableName(java.lang.String name)
Sets the name for the Instrumentable. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected final org.d_haven.mpool.ObjectFactory m_delegateFactory
ObjectFactory
proper
we delegate all calls to.
Constructor Detail |
public AbstractObjectFactory(org.d_haven.mpool.ObjectFactory objectFactory)
Method Detail |
public abstract java.lang.Object newInstance() throws java.lang.Exception
newInstance
in interface org.d_haven.mpool.ObjectFactory
java.lang.Exception
ObjectFactory.newInstance()
public final java.lang.Class getCreatedClass()
getCreatedClass
in interface org.d_haven.mpool.ObjectFactory
ObjectFactory.getCreatedClass()
public abstract void dispose(java.lang.Object object) throws java.lang.Exception
dispose
in interface org.d_haven.mpool.ObjectFactory
java.lang.Exception
ObjectFactory.dispose(Object)
public final void setInstrumentableName(java.lang.String name)
Instrumentable
This value may be set by a parent Instrumentable, or by the InstrumentManager using the value of the 'instrumentable' attribute in the configuration of the component.
setInstrumentableName
in interface Instrumentable
name
- The name used to identify a Instrumentable.public final java.lang.String getInstrumentableName()
Instrumentable
getInstrumentableName
in interface Instrumentable
public final Instrument[] getInstruments()
Instrumentable
getInstruments
in interface Instrumentable
public final Instrumentable[] getChildInstrumentables()
Instrumentable
getChildInstrumentables
in interface Instrumentable
protected static java.lang.Class[] guessWorkInterfaces(java.lang.Class clazz)
#INVALID_INTERFACES
).
clazz
- the class
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |