org.vraptor.component
Interface BeanConstructor

All Known Implementing Classes:
ComponentConstructor, EntityManagerInjector

public interface BeanConstructor

A basic bean constructor.

Since:
2.2.4
Author:
Guilherme Silveira

Method Summary
 Object newInstance(LogicRequest request, BeanProvider provider)
          Instantiates this component.
 

Method Detail

newInstance

Object newInstance(LogicRequest request,
                   BeanProvider provider)
                   throws ComponentInstantiationException
Instantiates this component.

Parameters:
request - the request scope
Returns:
the new instance
Throws:
ComponentInstantiationException - any error


Copyright © 2004-2008 VRaptor. All Rights Reserved.