org.apache.avalon.fortress.impl.factory
Class NoopObjectFactory
java.lang.Object
|
+--org.apache.avalon.fortress.impl.factory.AbstractObjectFactory
|
+--org.apache.avalon.fortress.impl.factory.NoopObjectFactory
- All Implemented Interfaces:
- Instrumentable, ObjectFactory
- public class NoopObjectFactory
- extends AbstractObjectFactory
NoopObjectFactory is used in situations where no proxied objects are desired. You are offered
no protection with this approach, so caveat emptor.
- Version:
- CVS $ Revision: 1.1 $
- Author:
- Berin Loritsch
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NoopObjectFactory
public NoopObjectFactory(ObjectFactory objectFactory)
newInstance
public Object newInstance()
throws Exception
- Specified by:
newInstance
in interface ObjectFactory
- Specified by:
newInstance
in class AbstractObjectFactory
Exception
- See Also:
ObjectFactory.newInstance()
dispose
public void dispose(Object object)
throws Exception
- Specified by:
dispose
in interface ObjectFactory
- Specified by:
dispose
in class AbstractObjectFactory
Exception
- See Also:
ObjectFactory.dispose(Object)
Copyright © 2000-2002 Apache Avalon Project. All Rights Reserved.