biz.hammurapi.config
Class Bean2ContextConfigurableAdapter

java.lang.Object
  extended by biz.hammurapi.config.Bean2ContextConfigurableAdapter
All Implemented Interfaces:
ContextConfigurable

public class Bean2ContextConfigurableAdapter
extends java.lang.Object
implements ContextConfigurable

Populates a bean with parameters from HttpRequest.

Version:
$Revision: 1.2 $
Author:
Pavel Vlasov

Constructor Summary
Bean2ContextConfigurableAdapter(java.lang.Object bean)
           
 
Method Summary
 void configure(Context context, CompositeConverter converter)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Bean2ContextConfigurableAdapter

public Bean2ContextConfigurableAdapter(java.lang.Object bean)
Method Detail

configure

public void configure(Context context,
                      CompositeConverter converter)
               throws ConfigurationException
Specified by:
configure in interface ContextConfigurable
Parameters:
context - Context to read values from
converter - Converter to convert values to proper type.
Throws:
ConfigurationException


Copyright © 2003 Hammurapi Group. All Rights Reserved.