|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.vraptor.scope.DefaultApplicationContext
public class DefaultApplicationContext
The basic implementation of the application context.
| Constructor Summary | |
|---|---|
DefaultApplicationContext(javax.servlet.ServletContext application)
|
|
| Method Summary | |
|---|---|
Object |
getAttribute(String name)
Retrieves an attribute |
String |
getRealPath(String path)
|
Set |
getResourcePaths(String directory)
|
boolean |
hasAttribute(String name)
Whether it contains an attribute |
Object |
removeAttribute(String name)
Removes an attribute |
void |
setAttribute(String name,
Object value)
Sets an attribute. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultApplicationContext(javax.servlet.ServletContext application)
| Method Detail |
|---|
public boolean hasAttribute(String name)
Context
hasAttribute in interface Contextname - name
public void setAttribute(String name,
Object value)
Context
setAttribute in interface Contextname - namevalue - valuepublic Object getAttribute(String name)
Context
getAttribute in interface Contextname - name
public Object removeAttribute(String name)
Context
removeAttribute in interface Contextname - name
public String getRealPath(String path)
getRealPath in interface ApplicationContextpublic Set getResourcePaths(String directory)
getResourcePaths in interface ApplicationContext
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||