1 17 18 package org.apache.avalon.fortress.impl; 19 20 import org.apache.avalon.fortress.impl.handler.ComponentHandler; 21 22 29 public final class ComponentHandlerEntry 30 { 31 private final ComponentHandler m_handler; 32 private final ComponentHandlerMetaData m_metaData; 33 34 40 public ComponentHandlerEntry( final ComponentHandler handler, 41 final ComponentHandlerMetaData metaData ) 42 { 43 if ( null == handler ) 44 { 45 throw new NullPointerException ( "handler" ); 46 } 47 if ( null == metaData ) 48 { 49 throw new NullPointerException ( "metaData" ); 50 } 51 52 m_handler = handler; 53 m_metaData = metaData; 54 } 55 56 61 public ComponentHandler getHandler() 62 { 63 return m_handler; 64 } 65 66 71 public ComponentHandlerMetaData getMetaData() 72 { 73 return m_metaData; 74 } 75 } 76 | Popular Tags |