org.jboss.aop.microcontainer.lazy
Class JBossAOPLazyInitializer

java.lang.Object
  extended by org.jboss.kernel.plugins.lazy.AbstractLazyInitializer
      extended by org.jboss.aop.microcontainer.lazy.JBossAOPLazyInitializer
All Implemented Interfaces:
LazyInitializer

public class JBossAOPLazyInitializer
extends AbstractLazyInitializer

JBossAOP lazy initializer.

Author:
Ales Justin

Nested Class Summary
 
Nested classes/interfaces inherited from class org.jboss.kernel.plugins.lazy.AbstractLazyInitializer
AbstractLazyInitializer.AbstractInvokeHandler
 
Constructor Summary
JBossAOPLazyInitializer()
           
 
Method Summary
 Object initializeProxy(Kernel kernel, String bean, boolean exposeClass, Set<String> interfaces)
          Initialize lazy proxy with no metadata.
 Object initializeProxy(Kernel kernel, String bean, boolean exposeClass, Set<String> interfaces, org.jboss.metadata.spi.MetaData metaData)
          Initialize lazy proxy.
 
Methods inherited from class org.jboss.kernel.plugins.lazy.AbstractLazyInitializer
getBeanClass, getBeanInfo, getClasses, getKernelControllerContext, getLowerPropertyName, isGetter, isSetter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JBossAOPLazyInitializer

public JBossAOPLazyInitializer()
Method Detail

initializeProxy

public Object initializeProxy(Kernel kernel,
                              String bean,
                              boolean exposeClass,
                              Set<String> interfaces)
                       throws Throwable
Description copied from interface: LazyInitializer
Initialize lazy proxy with no metadata.

Parameters:
kernel - the kernel
bean - the bean to wrap
exposeClass - do we expose full class
interfaces - interfaces to expose
Returns:
the proxy
Throws:
Throwable - for any error

initializeProxy

public Object initializeProxy(Kernel kernel,
                              String bean,
                              boolean exposeClass,
                              Set<String> interfaces,
                              org.jboss.metadata.spi.MetaData metaData)
                       throws Throwable
Description copied from interface: LazyInitializer
Initialize lazy proxy.

Specified by:
initializeProxy in interface LazyInitializer
Overrides:
initializeProxy in class AbstractLazyInitializer
Parameters:
kernel - the kernel
bean - the bean to wrap
exposeClass - do we expose full class
interfaces - interfaces to expose
metaData - the metaData
Returns:
the proxy
Throws:
Throwable - for any error


Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.