Package org.apache.muse.osgi.soa.core

Examples of org.apache.muse.osgi.soa.core.SOAPProvider


  public void start(BundleContext context) throws Exception {
    this.context = context;
    try {
      if ((soapProviderReference = context
          .getServiceReference("org.apache.muse.osgi.soa.core.SOAPProvider")) != null) {
        SOAPProvider soapProvider = (SOAPProvider)context.getService(soapProviderReference);
        ResourceManagementAdminServiceImpl adminImpl = new ResourceManagementAdminServiceImpl(context, soapProvider);
        Axis2Environment.setBundleContext(context);
        adminService = adminImpl;
        context.registerService(
            "org.apache.muse.core.platform.osgi.ResourceManagementProvider",


    case ServiceEvent.REGISTERED:
      if (!enabled) {
        try {
          if ((soapProviderReference = context
              .getServiceReference("org.apache.muse.osgi.soa.core.SOAPProvider")) != null) {
            SOAPProvider soapProvider = (SOAPProvider)context.getService(soapProviderReference);
            ResourceManagementAdminServiceImpl adminImpl = new ResourceManagementAdminServiceImpl(context, soapProvider);
            Axis2Environment.setBundleContext(context);
            adminService = adminImpl;
            context.registerService(
                    "org.apache.muse.core.platform.osgi.ResourceManagementProvider",

      XmlUtils.createDocument();
      Thread.currentThread().setContextClassLoader(prev);
     
      if ((soapProviderReference = context
          .getServiceReference("org.apache.muse.osgi.soa.core.SOAPProvider")) != null) {
        SOAPProvider soapProvider = (SOAPProvider)context.getService(soapProviderReference);
        ResourceManagementAdminServiceImpl adminImpl = new ResourceManagementAdminServiceImpl(context, soapProvider);
        Axis2Environment.setBundleContext(context);
        adminService = adminImpl;
        context.registerService(
            "org.apache.muse.core.platform.osgi.ResourceManagementProvider",

    case ServiceEvent.REGISTERED:
      if (!enabled) {
        try {
          if ((soapProviderReference = context
              .getServiceReference("org.apache.muse.osgi.soa.core.SOAPProvider")) != null) {
            SOAPProvider soapProvider = (SOAPProvider)context.getService(soapProviderReference);
            ResourceManagementAdminServiceImpl adminImpl = new ResourceManagementAdminServiceImpl(context, soapProvider);
            Axis2Environment.setBundleContext(context);
            adminService = adminImpl;
            context.registerService(
                    "org.apache.muse.core.platform.osgi.ResourceManagementProvider",

TOP

Related Classes of org.apache.muse.osgi.soa.core.SOAPProvider

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.