Examples of create()


Examples of org.jboss.aesh.console.AeshConsoleBuilder.create()

        AeshConsoleBuilder consoleBuilder = new AeshConsoleBuilder()
                .settings(settings)
                .commandRegistry(registry);

        aeshConsole = consoleBuilder.create();
        aeshConsole.start();
        getStream().flush();
    }

    protected void finish() {

Examples of org.jboss.aesh.console.settings.SettingsBuilder.create()

                }
                //TODO: currently the inputrc parser is posix only
                if(Config.isOSPOSIXCompatible()) {
                    Matcher keyQuoteMatcher = keyQuoteNamePattern.matcher(line);
                    if(keyQuoteMatcher.matches()) {
                        builder.create().getOperationManager().addOperationIgnoreWorkingMode(
                                KeyMapper.mapQuoteKeys(keyQuoteMatcher.group(1),
                                        keyQuoteMatcher.group(3)));
                    }
                    else {
                        Matcher keyMatcher = keyNamePattern.matcher(line);

Examples of org.jboss.aop.advice.DynamicCFlowDefinition.create()

   {
      DynamicCFlowDefinition def = dynamicCFlows.get(name);

      if (def != null)
      {
         return def.create(cl);
      }
      return null;
   }

Examples of org.jboss.aop.advice.InterceptorFactory.create()

      Iterator it = stack.getInterceptorFactories().iterator();
      while (it.hasNext())
      {
         InterceptorFactory factory = (InterceptorFactory) it.next();
         if (!factory.isDeployed()) continue;
         Interceptor interceptor = factory.create(classAdvisor, null);
         insertInterceptor(interceptor);
         interceptorsAdded ++;
      }
      if (interceptorChainObserver != null)
      {

Examples of org.jboss.aop.classpool.IsLocalResourcePluginFactory.create()

   private void assertFactoryAndPlugin(DelegatingClassPool pool, Class<?> factoryClass, Class<?> pluginClass)
   {
      IsLocalResourcePluginFactory factory = IsLocalResourcePluginFactoryRegistry.getPluginFactory(pool.getClassLoader());
      assertNotNull(factory);
      assertEquals(factoryClass, factory.getClass());
      IsLocalResourcePlugin plugin = factory.create(pool);
      assertEquals(pluginClass, plugin.getClass());
   }

   static class DefaultClassLoader extends ClassLoader
   {

Examples of org.jboss.arquillian.container.impl.LocalContainerRegistry.create()

      {
         if(
               (activeConfiguration != null && activeConfiguration.equals(container.getContainerName())) ||
               (activeConfiguration == null && container.isDefault()))
         {
            reg.create(container, serviceLoader);           
         }
      }
      for(GroupDef group : event.getGroups())
      {
         if(

Examples of org.jboss.arquillian.container.spi.ContainerRegistry.create()

   public void shouldBeAbleToDefaultTargetToOnlyRegisteredContainer() throws Exception
   {
      String name = "some-name";
     
      ContainerRegistry registry = new LocalContainerRegistry(injector.get());
      registry.create(new ContainerDefImpl(ARQUILLIAN_XML).setContainerName(name), serviceLoader);
     
      Container container = registry.getContainer(TargetDescription.DEFAULT);
     
      Assert.assertEquals(
            "Verify that the only registered container is returned as default",

Examples of org.jboss.arquillian.core.spi.ManagerBuilder.create()

    private void doFilterHttp(HttpServletRequest request, HttpServletResponse response, FilterChain filterChain)
            throws IOException, ServletException {

        try {
            ManagerBuilder builder = ManagerBuilder.from().extension(Class.forName(DEFAULT_EXTENSION_CLASS));
            Manager manager = builder.create();

            manager.start();

            manager.bind(ApplicationScoped.class, Manager.class, manager);

Examples of org.jboss.arquillian.impl.core.ManagerBuilder.create()

   {
      ManagerBuilder builder = ManagerBuilder.from();
      addContexts(builder);
      builder.extension(EventRegisterObserver.class);
      addExtensions(builder);
      manager = builder.create();
     
      manager.resolve(Injector.class).inject(this);
      startContexts(manager);
   }
  

Examples of org.jboss.arquillian.impl.domain.ContainerRegistry.create()

      {
         if(
               (activeConfiguration != null && activeConfiguration.equals(container.getContainerName())) ||
               (activeConfiguration == null && container.isDefault()))
         {
            reg.create(container, serviceLoader);           
         }
      }
      if(activeConfiguration != null)
      {
         for(GroupDef group : event.getGroups())
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.