|
Keel 2.1RC2 | ||||||||||
| 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
org.apache.avalon.fortress.impl.factory.NoopObjectFactory
NoopObjectFactory is used in situations where no proxied objects are desired. You are offered no protection with this approach, so caveat emptor.
| Field Summary |
| Fields inherited from class org.apache.avalon.fortress.impl.factory.AbstractObjectFactory |
m_delegateFactory |
| Fields inherited from interface org.apache.excalibur.mpool.ObjectFactory |
ROLE |
| Fields inherited from interface org.apache.excalibur.instrument.Instrumentable |
EMPTY_INSTRUMENT_ARRAY, EMPTY_INSTRUMENTABLE_ARRAY |
| Constructor Summary | |
NoopObjectFactory(ObjectFactory objectFactory) |
|
| Method Summary | |
void |
dispose(java.lang.Object object)Performs any deconstruction that is necessary for the object. |
java.lang.Object |
newInstance()Create a new instance of the object being pooled. |
| Methods inherited from class org.apache.avalon.fortress.impl.factory.AbstractObjectFactory |
getChildInstrumentables, getCreatedClass, getInstrumentableName, getInstruments, guessWorkInterfaces, setInstrumentableName |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public NoopObjectFactory(ObjectFactory objectFactory)
| Method Detail |
public java.lang.Object newInstance()
throws java.lang.Exception
ObjectFactorynewInstance in interface ObjectFactorynewInstance in class AbstractObjectFactoryjava.lang.ExceptionObjectFactory.newInstance()
public void dispose(java.lang.Object object)
throws java.lang.Exception
ObjectFactorydispose in interface ObjectFactorydispose in class AbstractObjectFactoryjava.lang.ExceptionObjectFactory.dispose(Object)
|
Keel 2.1RC2 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||