|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.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.ObjectFactoryjava.lang.ExceptionObjectFactory.newInstance()public final java.lang.Class getCreatedClass()
getCreatedClass in interface org.d_haven.mpool.ObjectFactoryObjectFactory.getCreatedClass()
public abstract void dispose(java.lang.Object object)
throws java.lang.Exception
dispose in interface org.d_haven.mpool.ObjectFactoryjava.lang.ExceptionObjectFactory.dispose(Object)public final void setInstrumentableName(java.lang.String name)
InstrumentableThis 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 Instrumentablename - The name used to identify a Instrumentable.public final java.lang.String getInstrumentableName()
Instrumentable
getInstrumentableName in interface Instrumentablepublic final Instrument[] getInstruments()
Instrumentable
getInstruments in interface Instrumentablepublic final Instrumentable[] getChildInstrumentables()
Instrumentable
getChildInstrumentables in interface Instrumentableprotected 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 | ||||||||||