org.jboss.kernel.plugins.lazy
Class JDKLazyInitializer

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

public class JDKLazyInitializer
extends AbstractLazyInitializer

Java JDK lazy initializer.

Author:
Ales Justin

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

Constructor Detail

JDKLazyInitializer

public JDKLazyInitializer()
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


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