Package com.caucho.config.inject

Examples of com.caucho.config.inject.HandleAware


  {
    T instance = super.create(bean, env);

    if ((instance instanceof HandleAware)
        && (bean instanceof PassivationCapable)) {
      HandleAware handleAware = (HandleAware) instance;
      PassivationCapable passiveBean = (PassivationCapable) bean;
     
      handleAware.setSerializationHandle(new SingletonHandle(passiveBean.getId()));
    }
   
    return instance;
  }
View Full Code Here

TOP

Related Classes of com.caucho.config.inject.HandleAware

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.