Package javax.slee.serviceactivity

Examples of javax.slee.serviceactivity.ServiceActivity


      ActivityContextInterface aci) {
    try {
      Context myEnv = (Context) new InitialContext()
          .lookup("java:comp/env");
      // check if it's my service aci that is ending
      ServiceActivity sa = ((ServiceActivityFactory) myEnv
          .lookup("slee/serviceactivity/factory")).getActivity();
      if (sa.equals(aci.getActivity())) {
        xmppSbbInterface.disconnect(connectionID);
      }
    } catch (Exception e) {
      e.printStackTrace();
    }
View Full Code Here

TOP

Related Classes of javax.slee.serviceactivity.ServiceActivity

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.