1 17 18 package org.apache.avalon.fortress.impl.factory; 19 20 import org.apache.excalibur.mpool.ObjectFactory; 21 22 29 public class NoopObjectFactory extends AbstractObjectFactory 30 { 31 public NoopObjectFactory( final ObjectFactory objectFactory ) 32 { 33 super(objectFactory); 34 } 35 36 public Object newInstance() throws Exception ![JavaDoc](../../../../../../../cmn/javadoc.gif) 37 { 38 return m_delegateFactory.newInstance(); 39 } 40 41 public void dispose( Object object ) throws Exception ![JavaDoc](../../../../../../../cmn/javadoc.gif) 42 { 43 m_delegateFactory.dispose( object ); 44 } 45 } 46 | Popular Tags |