|
J2EE1.4 SDK | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.appserv.web.cache.mapping.Field
| Field Summary | |
protected java.lang.String |
name
|
protected int |
scope
|
| Constructor Summary | |
Field(java.lang.String name,
java.lang.String scope)
create a new cache field, given a string representation of the scope |
|
| Method Summary | |
java.lang.String |
getName()
get the associated name |
int |
getScope()
get the associated scope |
java.lang.Object |
getValue(ServletContext context,
HttpServletRequest request)
get the field value by looking up in the given scope |
void |
setName(java.lang.String name)
set the associated name |
void |
setScope(int scope)
set the associated scope |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected java.lang.String name
protected int scope
| Constructor Detail |
public Field(java.lang.String name,
java.lang.String scope)
throws java.lang.IllegalArgumentException
name - name of this fieldscope - scope of this field| Method Detail |
public void setName(java.lang.String name)
name - name of this fieldpublic void setScope(int scope)
scope - scope of this fieldpublic java.lang.String getName()
public int getScope()
public java.lang.Object getValue(ServletContext context,
HttpServletRequest request)
context - ServletContext underlying web app contextrequest - HttpServletRequest
|
J2EE1.4 SDK | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright 2003 Sun Microsystems, Inc. All rights reserved.