Examples of context()


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

      ManagerBuilder builder = ManagerBuilder.from();

      addContexts(contexts);
      for(Class<? extends Context> context : contexts)
      {
         builder.context(context);
      }

      // Add ApplicationContext, it's internal to Manager, but needs to be registered as a context so EventRecorder will pick up on it
      contexts.add(0, ApplicationContextImpl.class);
     
View Full Code Here

Examples of org.modeshape.jcr.JcrRepository.RunningState.context()

                }
                if (nodesWithAccessControl == 0) {
                    repositoryCache.setAccessControlEnabled(false);
                }

                ExecutionContext context = runningState.context();
                SessionCache systemSession = runningState.createSystemSession(context, false);
                SystemContent systemContent = new SystemContent(systemSession);
                MutableCachedNode systemNode = systemContent.mutableSystemNode();
                systemNode.setProperty(systemSession, context.getPropertyFactory().create(ModeShapeLexicon.ACL_COUNT, nodesWithAccessControl));
                systemSession.save();
View Full Code Here

Examples of org.qi4j.samples.forum.domainevent.DomainEventValue.context()

            ValueBuilder<DomainEventValue> builder = module.newValueBuilder( DomainEventValue.class );
            DomainEventValue prototype = builder.prototype();
            prototype.version().set( application.version() );
            prototype.timestamp().set( unitOfWork.currentTime() );
            prototype.context().set( proxy.getClass().getSuperclass().getName().split( "\\$" )[ 0 ] );
            prototype.name().set( method.getName() );

            int idx = 0;
            for( Object arg : args )
            {
View Full Code Here

Examples of org.sonatype.nexus.capability.CapabilityReference.context()

          null  // no configuration
      );
    }
    else {
      return capabilityRegistry.update(
          reference.context().id(),
          enabled,
          reference.context().notes(),
          reference.context().properties()
      );
    }
View Full Code Here

Examples of org.springframework.boot.builder.SpringApplicationBuilder.context()

    container.showBanner(false);
    container.run(args);

    adminContext = admin.context();

    containerContext = container.context();
    pluginContext = (ConfigurableApplicationContext) containerContext.getParent();

    return this;
  }
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.