Examples of StandardEnvironment


Examples of net.hasor.core.environment.StandardEnvironment

        }
        return this.environment;
    }
    /**创建环境对象*/
    protected Environment createEnvironment() {
        return new StandardEnvironment(this.mainSettings);
    }
View Full Code Here

Examples of org.araneaframework.core.StandardEnvironment

  }

  protected Environment getChildEnvironment(Object serviceId) throws Exception {
    Map entries = new HashMap();   
    entries.put(SessionServiceContext.class, new ServiceRouterContextImpl(serviceId));
    return new StandardEnvironment(getEnvironment(), entries);
  }
View Full Code Here

Examples of org.araneaframework.core.StandardEnvironment

  }

  protected Environment getChildEnvironment(Object serviceId) throws Exception {
    Map entries = new HashMap();   
    entries.put(ThreadContext.class, new ServiceRouterContextImpl(serviceId));
    return new StandardEnvironment(getEnvironment(), entries);
  }
View Full Code Here

Examples of org.araneaframework.core.StandardEnvironment

 
  protected void init() throws Exception {
    Map entries = new HashMap();
    entries.put(SynchronizingContext.class, new SynchronizingContext() {});
   
    childService._getComponent().init(new StandardEnvironment(getChildEnvironment(), entries));
   
    log.debug("Synchronizing filter service initialized.");
  }
View Full Code Here

Examples of org.araneaframework.core.StandardEnvironment

  }

  protected Environment getChildEnvironment(Object serviceId) throws Exception {
    Map entries = new HashMap();   
    entries.put(TopServiceContext.class, new ServiceRouterContextImpl(serviceId));
    return new StandardEnvironment(getEnvironment(), entries);
  }
View Full Code Here

Examples of org.araneaframework.core.StandardEnvironment

  }
 
  protected Environment getChildWidgetEnvironment() throws Exception {
    refreshGlobalEnvironment();  
   
    return new StandardEnvironment(getEnvironment(), globalEnvironmentEntries);
  }
View Full Code Here

Examples of org.araneaframework.core.StandardEnvironment

      }
      else
        entries.put(key, entry.getValue());
    }
   
    childWidget._getComponent().init(new StandardEnvironment(getEnvironment(), entries));
          
    log.debug("ContextMap service initialized, following contexts found: " + entries);
  }
View Full Code Here

Examples of org.araneaframework.core.StandardEnvironment

  protected void init() throws Exception {
    Map entries = new HashMap();
    entries.put(LocalizationContext.class, this);
   
    childService._getComponent().init(new StandardEnvironment(getChildEnvironment(), entries));
   
    log.debug("Synchronizing filter service initialized.");
  }
View Full Code Here

Examples of org.araneaframework.core.StandardEnvironment

  protected void init() throws Exception {
    Map entries = new HashMap();
    entries.put(MessageContext.class, this);
   
    childWidget._getComponent().init(new StandardEnvironment(getChildWidgetEnvironment(), entries));
   
    log.debug("Messaging filter service initialized.");
  }
View Full Code Here

Examples of org.araneaframework.core.StandardEnvironment

  private Service continuation;
 
  protected Environment getChildEnvironment() {
    Map entries = new HashMap();
    entries.put(ContinuationManagerContext.class, this);       
    return new StandardEnvironment(super.getChildEnvironment(), entries);
  }
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.