org.vraptor.component
Class ComponentConstructor
java.lang.Object
org.vraptor.component.ComponentConstructor
- All Implemented Interfaces:
- BeanConstructor
public class ComponentConstructor
- extends Object
- implements BeanConstructor
A component constructor. It allows users to instantiate a component type
using an specific bean provider.
- Author:
- Guilherme Silveira
newInstance
public Object newInstance(LogicRequest request,
BeanProvider provider)
throws ComponentInstantiationException
- Description copied from interface:
BeanConstructor
- Instantiates this component.
- Specified by:
newInstance in interface BeanConstructor
- Parameters:
request - the request scope
- Returns:
- the new instance
- Throws:
ComponentInstantiationException - any error
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2004-2008 VRaptor. All Rights Reserved.