Examples of create()


Examples of org.jboss.util.TimedCachePolicy.create()

       */
      public Object invoke(Object obj, Method method, Object[] args) throws Throwable
      {
         TimedCachePolicy cachePolicy = new TimedCachePolicy(defaultCacheTimeout,
            true, defaultCacheResolution);
         cachePolicy.create();
         cachePolicy.start();
         return cachePolicy;
      }
   }

Examples of org.jboss.virtual.plugins.cache.CombinedVFSCache.create()

         IterableTimedVFSCache realCache = new IterableTimedVFSCache(5);
         realCache.start();
         cvc.setRealCache(realCache);

         cvc.create();
      }
   }

   @Override
   protected void stopCache(VFSCache cache)

Examples of org.jboss.ws.metadata.accessor.AccessorFactory.create()

      if (paramMetaData.getWrappedParameters() != null)
      {
         AccessorFactory factory = factoryCreator.create(paramMetaData);
         for (WrappedParameter wParam : paramMetaData.getWrappedParameters())
            wParam.setAccessor(factory.create(wParam));
      }
   }

   // ---------------------------------------------------------------
   // Configuration provider impl

Examples of org.jboss.ws.metadata.accessor.AccessorFactoryCreator.create()

      if (factoryCreator instanceof JAXBAccessorFactoryCreator)
         ((JAXBAccessorFactoryCreator)factoryCreator).setJAXBContext(jaxbCtx);

      if (paramMetaData.getWrappedParameters() != null)
      {
         AccessorFactory factory = factoryCreator.create(paramMetaData);
         for (WrappedParameter wParam : paramMetaData.getWrappedParameters())
            wParam.setAccessor(factory.create(wParam));
      }
   }

Examples of org.jboss.wsf.spi.WSFRuntime.create()

         ep.setShortName(implClass.getName()+"-Endpoint");
         ep.setURLPattern("/*");
         service.addEndpoint(ep);

         // Deploy using deployment aspects
         runtime.create(dep)
         runtime.start(dep)
      }
      catch (RuntimeException rte)
      {
         throw rte;

Examples of org.jboss.wsf.spi.deployment.DeploymentAspect.create()

         if (providedConditions.containsAll(requiredSet) == false)
            throw new IllegalStateException("Required conditions '" + aspect.getRequires() + "' not satisfied by '" + providedConditions + "' for: " + aspect);
         */

         logInvocation(aspect, "Create");
         aspect.create(dep);

         providedConditions.addAll(aspect.getProvidesAsSet());
      }

      dep.setState(DeploymentState.CREATED);

Examples of org.jbpm.ejb.LocalCommandServiceHome.create()

    log.debug("ejb timer "+ejbTimer+" fires");
    String localCommandServiceJndiName = "java:comp/env/ejb/LocalCommandServiceBean";
    try {
      Context initial = new InitialContext();
      LocalCommandServiceHome localCommandServiceHome = (LocalCommandServiceHome) initial.lookup(localCommandServiceJndiName);
      LocalCommandService localCommandService = localCommandServiceHome.create();
      Serializable info = ejbTimer.getInfo();
      if (! (info instanceof TimerInfo)) {
        if (info ==null) {
          throw new NullPointerException("timer info is null");
        } else {

Examples of org.jbpm.pvm.internal.wire.WireContext.create()

        environment.setContext(transactionContext);

        Environment.pushEnvironment(environment);
        try {
            // finish the creation of the environment wire context
            transactionContext.create();

        } catch (RuntimeException e) {
            Environment.popEnvironment();
            throw e;
        }

Examples of org.jbpm.ui.validation.ValidatorDefinition.create()

    private void updateValidatorSelection() {
        ValidatorDefinition vd = getCurrentDefinition();
        if (vd != null) {
            ValidatorConfig config = getFieldValidator(getCurrentVariableName(), vd);
            if (config == null) {
                config = vd.create("");
            }
            infoGroup.setConfig(getCurrentVariableName(), vd, config);
        }
    }

Examples of org.jbpm.wire.WireContext.create()

    // add the environment block context
    WireContext blockContext = new WireContext(blockWireDefinition, DefaultEnvironment.CONTEXTNAME_BLOCK, environment, true);
    // add the environment block context to the environment
    environment.addContext(blockContext);
    // finish the creation of the environment wire context
    blockContext.create();

    // fire an open environment event
    applicationWireContext.fire(DefaultEnvironment.EVENT_OPENENVIRONMENT, environment);
   
    // if all went well, only then push the created environment
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.