org.vraptor.component
Class GetterOutjecter

java.lang.Object
  extended by org.vraptor.component.GetterOutjecter
All Implemented Interfaces:
Outjecter

public class GetterOutjecter
extends Object
implements Outjecter

A getter outjection.

Since:
2.2.3
Author:
Guilherme Silveira

Constructor Summary
GetterOutjecter(String key, Method method)
           
 
Method Summary
 String getKey()
           
 ScopeType getScope()
           
 Object getValue(Object obj)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GetterOutjecter

public GetterOutjecter(String key,
                       Method method)
Method Detail

getKey

public String getKey()
Specified by:
getKey in interface Outjecter

getScope

public ScopeType getScope()
Specified by:
getScope in interface Outjecter

getValue

public Object getValue(Object obj)
                throws MethodInvocationException
Specified by:
getValue in interface Outjecter
Throws:
MethodInvocationException


Copyright © 2004-2008 VRaptor. All Rights Reserved.