Forge - Parent 2.0.0.Alpha1

org.jboss.forge.container.services
Class ExportedInstanceLazyLoader

java.lang.Object
  extended by org.jboss.forge.container.services.ExportedInstanceLazyLoader
All Implemented Interfaces:
javassist.util.proxy.MethodHandler, ForgeProxy

public class ExportedInstanceLazyLoader
extends Object
implements ForgeProxy


Constructor Summary
ExportedInstanceLazyLoader(AddonRegistry registry, Class<?> serviceType, javax.enterprise.inject.spi.InjectionPoint injectionPoint)
           
 
Method Summary
static Object create(AddonRegistry registry, javax.enterprise.inject.spi.InjectionPoint injectionPoint, Class<?> serviceType)
           
 Object getDelegate()
          Get the underlying delegate instance, if possible.
 Object invoke(Object self, Method thisMethod, Method proceed, Object[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExportedInstanceLazyLoader

public ExportedInstanceLazyLoader(AddonRegistry registry,
                                  Class<?> serviceType,
                                  javax.enterprise.inject.spi.InjectionPoint injectionPoint)
Method Detail

create

public static Object create(AddonRegistry registry,
                            javax.enterprise.inject.spi.InjectionPoint injectionPoint,
                            Class<?> serviceType)

invoke

public Object invoke(Object self,
                     Method thisMethod,
                     Method proceed,
                     Object[] args)
              throws Throwable
Specified by:
invoke in interface javassist.util.proxy.MethodHandler
Throws:
Throwable

getDelegate

public Object getDelegate()
Description copied from interface: ForgeProxy
Get the underlying delegate instance, if possible.

Specified by:
getDelegate in interface ForgeProxy

Forge - Parent 2.0.0.Alpha1

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.