|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectBeanTag
com.sun.portal.wireless.taglibs.base.ContextTag
The ContextTag
abstract class supports tags that
represent a context for a service.
Subclasses must implement the findContext()
method.
Cooperating classes either look for the context
in the pageContex
t with the appropriate name,
or use the getContext()
method if this is
a parent tag.
There are no default attributes for this tag.
Context
,
Serialized FormConstructor Summary | |
ContextTag()
|
Method Summary | |
protected void |
computeConfigName(PageContext pageContext,
java.lang.String configNameKey,
java.lang.String ssoAdapterKey,
java.lang.String configType)
Computes a configuration name to ensure that a useable configName is chosen. |
int |
doStartTag()
Makes the context available. |
java.lang.Object |
findBean()
Gets the context as a bean. |
abstract Context |
findContext()
Finds the context this tag represents. |
java.lang.Object |
newBean()
Gets the context as a bean. |
void |
release()
Releases resources held by this object. |
void |
setConfig(java.lang.String s)
Sets the "config" tag attribute. |
void |
setTest(java.lang.String s)
Sets the "test" tag attribute. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ContextTag()
Method Detail |
public abstract Context findContext() throws java.lang.Exception
java.lang.Exception
public java.lang.Object newBean() throws java.lang.Exception
java.lang.Exception
public java.lang.Object findBean() throws java.lang.Exception
java.lang.Exception
public int doStartTag() throws JspException
JspException
- if no context is foundprotected void computeConfigName(PageContext pageContext, java.lang.String configNameKey, java.lang.String ssoAdapterKey, java.lang.String configType)
public void setConfig(java.lang.String s)
s
- the name of the SSOAdapter configuration to which this context
should be associated.public void setTest(java.lang.String s)
s
- a string value of true
or false
,
which will control the ContextTag
's "test" behavior.public void release()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |