1 17 18 package org.apache.avalon.cornerstone.services.connection; 19 20 25 public class DefaultHandlerFactory 26 extends AbstractHandlerFactory 27 { 28 protected Class m_handlerClass; 29 30 public DefaultHandlerFactory( final Class handlerClass ) 31 { 32 m_handlerClass = handlerClass; 33 } 34 35 41 protected ConnectionHandler newHandler() 42 throws Exception  43 { 44 return (ConnectionHandler)m_handlerClass.newInstance(); 45 } 46 47 51 public void releaseConnectionHandler( ConnectionHandler connectionHandler ) 52 { 53 } 54 } 55 | Popular Tags |