|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.restlet.Context
com.noelios.restlet.application.ApplicationContext
public class ApplicationContext
Context based on a parent component's context but dedicated to an application. This is important to allow contextual access to application's resources.
Constructor Summary | |
---|---|
ApplicationContext(Application application,
Context parentContext,
Logger logger)
Constructor. |
Method Summary | |
---|---|
protected Application |
getApplication()
Returns the application. |
Uniform |
getDispatcher()
Returns a call dispatcher. |
protected Context |
getParentContext()
Returns the parent context. |
protected Client |
getWarClient()
Returns the WAR client. |
protected void |
setWarClient(Client warClient)
Sets the WAR client. |
Methods inherited from class org.restlet.Context |
---|
getAttributes, getLogger, getParameters, setLogger |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ApplicationContext(Application application, Context parentContext, Logger logger)
application
- The application.parentContext
- The parent context.logger
- The logger instance of use.Method Detail |
---|
public Uniform getDispatcher()
getDispatcher
in class Context
protected Application getApplication()
protected Client getWarClient()
protected void setWarClient(Client warClient)
warClient
- the WAR client.protected Context getParentContext()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |