Examples of Context


Examples of org.extremecomponents.table.context.Context

    static public Limit getLimit(HttpServletRequest request, int totalRows,int defautPageSize) {
      return getLimit(request,totalRows, defautPageSize,null);
    }
   
    static public Limit getLimit(HttpServletRequest request, int totalRows,int defautPageSize,String tableId) {
        Context context = new HttpServletRequestContext(request);
        LimitFactory limitFactory = null;
        if(tableId == null)
          limitFactory = new TableLimitFactory(context);
        else
          limitFactory = new TableLimitFactory(context,tableId);
View Full Code Here

Examples of org.fcrepo.server.Context

                                                                        String serviceDefinitionPid,
                                                                        String methodName,
                                                                        org.fcrepo.server.types.gen.GetDissemination.Parameters parameters,
                                                                        String asOfDateTime) {
        MessageContext ctx = context.getMessageContext();
        Context context = ReadOnlyContext.getSoapContext(ctx);
        assertInitialized();
        try {
            org.fcrepo.server.storage.types.Property[] properties =
                    TypeUtility
                            .convertGenPropertyArrayToPropertyArray(parameters);
View Full Code Here

Examples of org.fenixedu.academic.domain.degreeStructure.Context

            if (contextList.isEmpty()) {
                continue;
            }

            Context selectedContext = contextList.iterator().next(); // WTF?.. /facepalm

            CurriculumGroup curriculumGroup = null;
            if (selectedCurricularCourse.getDegreeCurricularPlan().equals(degreeCurricularPlan)) {
                curriculumGroup = studentCurricularPlan.getRoot().findCurriculumGroupFor(selectedContext.getParentCourseGroup());
            } else {
                // Enrol on standalone curriculum group
                curriculumGroup = studentCurricularPlan.getStandaloneCurriculumGroup();
            }
View Full Code Here

Examples of org.flowforwarding.warp.context.Context

   /**
    * @param args
    */
   public static void main(String[] args) {
      Context context = Context.getInstance();
      ControllerRef cRef = Controller.launch(SimpleHandler.class);
   }
View Full Code Here

Examples of org.glassfish.diagnostics.context.Context

  @Override // from ContextManager
  public Context getContext()
  {
    LOGGER.entering(CLASS_NAME, "getContext()");

    Context retVal = null;

    ContextMap contextMap = ContextMapHelper.getScopeAwareContextMap();
    try{
      retVal = contextMap.get(WORK_CONTEXT_KEY);
      if (retVal == null){
View Full Code Here

Examples of org.glassfish.embeddable.web.Context

     * @return the new <tt>Context</tt>
     */
    public Context createContext(File docRoot, String contextRoot,
            ClassLoader classLoader) {

        Context context = createContext(docRoot, classLoader);

        try {
            addContext(context, contextRoot);
        } catch (Exception ex) {
            log.severe("Couldn't add context " + context + " using " + contextRoot);
View Full Code Here

Examples of org.huihoo.willow.Context

    UserDatabaseRealm userRealm=new UserDatabaseRealm();
    engine.setRealmDatabase(userRealm);
   
    embedded.setEngine(engine);
   
    Context context=embedded.createContext(contextFile.getName(),contextFile.getAbsolutePath());
    context.setAutoDeploy(false);
    context.setReloadable(false);
    engine.addChild(context);
   
    try
    {
      embedded.start();
View Full Code Here

Examples of org.infinispan.cli.Context

      // bunched up. This is valid in shell mode, but a bit problematic for
      // the cache loader. So, instead create a context instance for each
      // operation. This is obviously not very efficient, but this cache loader
      // should only be used during migration, so any inefficiencies should
      // only be temporary.
      Context cliCtx = createContext();
      Command command = cliCtx.getCommandRegistry().getCommand(parsed.getCommand());
      command.execute(cliCtx, parsed);
      ResponseMatcher.Result result = ((ResponseMatcher) cliCtx.getOutputAdapter())
            .getResult(Collections.singletonList(parsed));
      if (result.isError)
         throw new CacheException("Unable to load entry: " + result.result);

      if (result.result.equals("null"))
View Full Code Here

Examples of org.jakstab.rtl.Context

          continue;
       
        evaldStatement = new AssignmentTemplate(a.getBitWidth(), evaldLHS, evaldRHS);
       
      } else /* non AssignmentTemplate */ {
        evaldStatement = statement.evaluate(new Context());
      }

      addLast(evaldStatement);
    }
    if (sequence.size() < 1)
View Full Code Here

Examples of org.japura.controller.Context

    ControllerStatus newStatus = ControllerStatus.UNREGISTERING;
    controller.setControllerStatus(newStatus);

    Group group = controller.getGroup();
    group.fireListeners(controller, newStatus);
    Context context = controller.getContext();
    context.fireListeners(controller, newStatus);
    fireListeners(controller, newStatus);
  }

  // cancel all tasks
  if (cancelGroupTaskExecution) {
    for (Controller controller : freeList) {
    controller.getGroup().cancelTasks();
    }
  }

  // unregister all
  for (Controller controller : freeList) {
    Application.getMessageManager().unregister(controller);

    Group group = controller.getGroup();
    group.unregister(controller);
    if (group.count() == 0) {
    group.shutdown();
    }

    Context context = controller.getContext();
    context.unregister(controller);

    Controller parentController = controller.getParent();
    if (parentController != null) {
    controller.unregisterParent();
    parentController.unregisterChild(controller);
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.