org.gcube.common.ghn.service.context
Class DefaultContext

java.lang.Object
  extended by org.gcube.common.ghn.service.context.DefaultContext
All Implemented Interfaces:
ApplicationContext

public class DefaultContext
extends Object
implements ApplicationContext


Constructor Summary
DefaultContext(ApplicationContext ctx)
           
DefaultContext(javax.servlet.ServletContext sctx, Configuration configuration, org.gcube.common.events.Hub hub, Lifecycle lifecycle, Properties properties)
           
 
Method Summary
 javax.servlet.ServletContext application()
           
 Configuration configuration()
           
 org.gcube.common.events.Hub events()
           
 Lifecycle lifecycle()
           
 String name()
           
 Persistence persistence()
           
 Properties properties()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultContext

public DefaultContext(javax.servlet.ServletContext sctx,
                      Configuration configuration,
                      org.gcube.common.events.Hub hub,
                      Lifecycle lifecycle,
                      Properties properties)

DefaultContext

public DefaultContext(ApplicationContext ctx)
Method Detail

application

public javax.servlet.ServletContext application()
Specified by:
application in interface ApplicationContext

name

public String name()
Specified by:
name in interface ApplicationContext

configuration

public Configuration configuration()
Specified by:
configuration in interface ApplicationContext

lifecycle

public Lifecycle lifecycle()
Specified by:
lifecycle in interface ApplicationContext

events

public org.gcube.common.events.Hub events()
Specified by:
events in interface ApplicationContext

persistence

public Persistence persistence()
Specified by:
persistence in interface ApplicationContext

properties

public Properties properties()
Specified by:
properties in interface ApplicationContext


Copyright © 2013. All Rights Reserved.