Package com.caucho.config.gen

Examples of com.caucho.config.gen.LifecycleInterceptor


  {
    super.introspect();
   
    introspectLifecycle(getBeanType().getJavaClass());

    _postConstructInterceptor = new LifecycleInterceptor(PostConstruct.class);
    _postConstructInterceptor.introspect(getBeanType());

    _preDestroyInterceptor = new LifecycleInterceptor(PreDestroy.class);
    _preDestroyInterceptor.introspect(getBeanType());

    // XXX: type is incorrect here. Should be moved to stateless generator?
    introspectTimer(getBeanType());
  }
View Full Code Here


  {
    introspectImpl();

    introspectLifecycle(getBeanClass().getJavaClass());

    _postConstructInterceptor = new LifecycleInterceptor(PostConstruct.class);
    _postConstructInterceptor.introspect(getBeanClass());

    _preDestroyInterceptor = new LifecycleInterceptor(PreDestroy.class);
    _preDestroyInterceptor.introspect(getBeanClass());

    introspectTimer(getBeanClass());
  }
View Full Code Here

TOP

Related Classes of com.caucho.config.gen.LifecycleInterceptor

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.