Examples of Service


Examples of org.jboss.soa.esb.listeners.config.xbeanmodel101.ServiceDocument.Service

    root.setAttribute("parameterReloadSecs", model.getParameterReloadSecs());

        // Add an InVM listener for each service...
        List<Service> services = model.getServices();
        for (int i = 0; i < services.size(); i++) {
            Service service = services.get(i);
            if(model.exposesInVMListener(service)) {
                addInVMListener(root, service, i);
            }
        }
   
View Full Code Here

Examples of org.jboss.soa.esb.listeners.config.xbeanmodel110.ServiceDocument.Service

* Mapper for the {@link ScheduleListener}.
* @author <a href="mailto:tom.fennelly@jboss.com">tom.fennelly@jboss.com</a>
*/
public class ScheduledListenerMapper {
    public static Element map(Element root, ScheduledListenerDocument.ScheduledListener listener, XMLBeansModel model) {
        Service service = model.getService(listener);
        boolean isGateway = listener.getIsGateway();
        Element listenerNode = YADOMUtil.addElement(root, "listener");

        listenerNode.setAttribute("name", listener.getName());

View Full Code Here

Examples of org.jboss.soa.esb.listeners.config.xbeanmodel120.ServiceDocument.Service

    root.setAttribute("parameterReloadSecs", model.getParameterReloadSecs());

        // Add an InVM listener for each service...
        List<Service> services = model.getServices();
        for (int i = 0; i < services.size(); i++) {
            Service service = services.get(i);
            if(model.exposesInVMListener(service)) {
                addInVMListener(root, service, i);
            }
        }
View Full Code Here

Examples of org.jboss.soa.esb.listeners.config.xbeanmodel130.ServiceDocument.Service

        return gatewayNode;
  }
 
  private static URI createToURI(final CamelGatewayDocument.CamelGateway gateway, CamelBus bus, final XMLBeansModel model) throws ConfigurationException {
    Map<String,Object> toParams = new LinkedHashMap<String,Object>();
    Service service = model.getService(gateway);
    toParams.put(JBossESBComponent.CATEGORY, service.getCategory());
    toParams.put(JBossESBComponent.NAME, service.getName());
    boolean async;
    if (gateway.isSetAsync()) {
      async = gateway.getAsync();
    } else if (bus != null && bus.isSetAsync()) {
      async = bus.getAsync();
View Full Code Here

Examples of org.jboss.system.Service

    */
   private Service getServiceProxy(ObjectName objectName, String serviceFactory)
         throws ClassNotFoundException, InstantiationException,
         IllegalAccessException, JMException
   {
      Service service = null;
      ClassLoader loader = Thread.currentThread().getContextClassLoader();
      if (serviceFactory != null && serviceFactory.length() > 0)
      {
         Class clazz = loader.loadClass(serviceFactory);
         ServiceFactory factory = (ServiceFactory) clazz.newInstance();
View Full Code Here

Examples of org.jboss.weld.bootstrap.api.Service

     * @param registry the given service registry
     */
    void loadAdditionalServices(ServiceRegistry registry) {
        for (ResourceLoader loader : getResourceLoaders()) {
            for (Metadata<Service> metadata : ServiceLoader.load(Service.class, loader)) {
                Service service = metadata.getValue();
                for (Class<? extends Service> serviceInterface : identifyServiceInterfaces(service.getClass(), new HashSet<>())) {
                    put(registry, serviceInterface, service);
                }
            }
        }
    }
View Full Code Here

Examples of org.jboss.wsf.spi.deployment.Service

      else if (WSHelper.isJaxwsEjbDeployment(dep))
      {
         this.log.debug("Building injection meta data for JAXWS EJB3 webservice deployment: " + dep.getSimpleName());
         final WebServiceDeployment webServiceDeployment = ASHelper.getRequiredAttachment(unit,
               WebServiceDeployment.class);
         final Service service = dep.getService();

         // iterate through all EJB3 endpoints
         for (final WebServiceDeclaration container : webServiceDeployment.getServiceEndpoints())
         {
            final String ejbName = container.getComponentName();
            final Endpoint endpoint = service.getEndpointByName(ejbName);
            if (endpoint != null && ASHelper.isWebServiceBean(container))
            {
               // build EJB 3 injections meta data
               final EnvironmentEntriesMetaData ejbEnvEntries = this.getEnvironmentEntries(ejbName, unit);
               final InjectionsMetaData injectionsMD = this.buildInjectionsMetaData(ejbEnvEntries, resolvers);
View Full Code Here

Examples of org.jbpm.svc.Service

     * see https://jira.jboss.org/jira/browse/JBPM-1775 */
    JbpmContext jbpmContext = executionContext.getJbpmContext();
    if (jbpmContext != null) {
      Services services = jbpmContext.getServices();
      if (services != null) {
        Service service = services.getPersistenceService();
        if (service instanceof DbPersistenceService) {
          DbPersistenceService persistenceService = (DbPersistenceService) service;
          return persistenceService.isTransactionActive() || persistenceService.getTransaction() == null;
        }
      }
View Full Code Here

Examples of org.jclouds.openstack.keystone.v2_0.domain.Service

      ServiceAdminApi serviceApi = serviceAdminOption.get();
      Set<? extends Service> services = serviceApi.list().concat().toSet();
      assertNotNull(services);
      assertFalse(services.isEmpty());
      for (Service service : services) {
         Service aService = serviceApi.get(service.getId());
         assertEquals(aService, service);
      }

   }
View Full Code Here

Examples of org.jibeframework.core.annotation.Service

                } else {
                  UIController cann = field.getAnnotation(UIController.class);
                  if (cann != null) {
                    injectionCache.put(field, cann.value());
                  } else {
                    Service sann = field.getAnnotation(Service.class);
                    if (sann != null) {
                      injectionCache.put(field, field.getType());
                    }
                  }
                }
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.