|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A base class for all AllowedClasses
Field Summary | |
static java.lang.String |
APPLICATION
Application scope: named reference remains available in the ServletContext until it is reclaimed. |
static java.lang.String |
PAGE
Page scope: (this is the default) the named reference remains available in this PageContext until the return from the current Servlet.service() invocation. |
static java.lang.String |
REQUEST
This type of scope is not currently supported by DWR Request scope: the named reference remains available from the ServletRequest associated with the Servlet until the current request is completed. |
static java.lang.String |
SESSION
Session scope (only valid if this page participates in a session): the named reference remains available from the HttpSession (if any) associated with the Servlet until the HttpSession is invalidated. |
Method Summary | |
java.lang.Object |
getInstance()
Accessor for the/an instance of this Creator. |
java.lang.String |
getScope()
Each Creator creates objects with a given scope. |
java.lang.Class |
getType()
Accessor for the java.lang.Class that this Creator
allows access to. |
void |
setProperties(java.util.Map params)
DefaultConfiguration is done via access to the DOM Element. |
Field Detail |
public static final java.lang.String APPLICATION
public static final java.lang.String SESSION
public static final java.lang.String REQUEST
public static final java.lang.String PAGE
Method Detail |
public void setProperties(java.util.Map params) throws java.lang.IllegalArgumentException
params
- The map of paramters to configure the creator
java.lang.IllegalArgumentException
- If the config data in the Element is invalidpublic java.lang.Class getType()
java.lang.Class
that this Creator
allows access to.
public java.lang.Object getInstance() throws java.lang.InstantiationException
java.lang.InstantiationException
- If for some reason the object can not be createdpublic java.lang.String getScope()
|
Copyright ? 2005 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |