Package org.apache.stratos.messaging.domain.topology

Examples of org.apache.stratos.messaging.domain.topology.Topology.addService()


            } else {
             
              // Apply changes to the topology
              Service service = new Service(event.getServiceName(), event.getServiceType());
              service.addPorts(event.getPorts());
              topology.addService(service);
             
              if (log.isInfoEnabled()) {
                log.info(String.format("Service created: [service] %s", event.getServiceName()));
              }
            }
View Full Code Here


        if (TopologyServiceFilter.getInstance().isActive()) {
          // Add services included in service filter
          for (Service service : event.getTopology().getServices()) {
            if (TopologyServiceFilter.getInstance()
                .serviceNameIncluded(service.getServiceName())) {
              topology.addService(service);
            } else {
              if (log.isDebugEnabled()) {
                log.debug(String.format(
                    "Service is excluded: [service] %s",
                    service.getServiceName()));
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.