Package com.caucho.config.inject

Examples of com.caucho.config.inject.SingletonHandle


    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


      }

      if (value instanceof HandleAware && bean instanceof PassivationCapable) {
        String id = ((PassivationCapable) bean).getId();

        ((HandleAware) value).setSerializationHandle(new SingletonHandle(id));
      }
    }
  }
View Full Code Here

TOP

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

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.