jodd.petite
Class ScopedProxyAdvice

java.lang.Object
  extended by jodd.petite.ScopedProxyAdvice
All Implemented Interfaces:
ProxyAdvice

public class ScopedProxyAdvice
extends Object
implements ProxyAdvice

Scoped proxy advice. For each wrapped method, it will lookup for the bean from the container and will delegate the method call to it.


Field Summary
 String name
          Bean name for lookup.
 PetiteContainer petiteContainer
          Petite container.
 
Constructor Summary
ScopedProxyAdvice()
           
 
Method Summary
 Object execute()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

petiteContainer

public PetiteContainer petiteContainer
Petite container.


name

public String name
Bean name for lookup.

Constructor Detail

ScopedProxyAdvice

public ScopedProxyAdvice()
Method Detail

execute

public Object execute()
               throws Exception
Specified by:
execute in interface ProxyAdvice
Throws:
Exception