1 18 package org.apache.beehive.netui.pageflow.handler; 19 20 import java.util.Map ; 21 import java.util.HashMap ; 22 import java.io.Serializable ; 23 24 27 public class HandlerConfig 28 implements Serializable 29 { 30 private Map _customProperties = new HashMap (); 31 private String _handlerClass; 32 33 public HandlerConfig( String handlerClass ) 34 { 35 _handlerClass = handlerClass; 36 } 37 38 public Map getCustomProperties() 39 { 40 return _customProperties; 41 } 42 43 void addCustomProperty( String name, String value ) 44 { 45 _customProperties.put( name, value ); 46 } 47 48 public String getCustomProperty( String name ) 49 { 50 return ( String ) _customProperties.get( name ); 51 } 52 53 public String getHandlerClass() 54 { 55 return _handlerClass; 56 } 57 } 58 | Popular Tags |