Package org.araneaframework.core

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


  }

  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

 
  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

  }

  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

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

      }
      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

  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

  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

  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

  public void runContinuation(Service continuation) throws Exception {
    this.continuation = continuation;
   
    Map entries = new HashMap();
    entries.put(ContinuationContext.class, this);       
    continuation._getComponent().init(new StandardEnvironment(getEnvironment(), entries));
   
    throw new AraneaRuntimeException("Continuation set!");
  }
View Full Code Here

TOP

Related Classes of org.araneaframework.core.StandardEnvironment

Copyright © 2018 www.massapicom. 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.