|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.portal.common.invocation.AbstractInvocationContext
public class AbstractInvocationContext
Constructor Summary | |
---|---|
AbstractInvocationContext()
|
Method Summary | |
---|---|
protected void |
addResolver(Scope resolverScope,
AttributeResolver resolver)
|
protected void |
addResolver(Scope resolverScope,
InvocationContext federatedContext)
|
java.lang.Object |
getAttribute(Scope attrScope,
java.lang.Object attrKey)
Returns an attribute value. |
AttributeResolver |
getAttributeResolver(Scope attrScope)
Return the attribute resolver of this context. |
void |
removeAttribute(Scope attrScope,
java.lang.Object attrKey)
Remove an attribute value. |
void |
setAttribute(Scope attrScope,
java.lang.Object attrKey,
java.lang.Object attrValue)
Update an attribute value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractInvocationContext()
Method Detail |
---|
protected final void addResolver(Scope resolverScope, InvocationContext federatedContext) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
protected final void addResolver(Scope resolverScope, AttributeResolver resolver) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
public AttributeResolver getAttributeResolver(Scope attrScope) throws java.lang.IllegalArgumentException
InvocationContext
getAttributeResolver
in interface InvocationContext
attrScope
- the attribute resolver scope
java.lang.IllegalArgumentException
- if the attribute scope is invalidpublic java.lang.Object getAttribute(Scope attrScope, java.lang.Object attrKey) throws java.lang.IllegalArgumentException
InvocationContext
getAttribute
in interface InvocationContext
attrScope
- the attribute scope
java.lang.IllegalArgumentException
- if the attribute key or the attribute scope is not validpublic void setAttribute(Scope attrScope, java.lang.Object attrKey, java.lang.Object attrValue) throws java.lang.IllegalArgumentException
InvocationContext
setAttribute
in interface InvocationContext
attrScope
- the attribute scopeattrValue
- the attribute value
java.lang.IllegalArgumentException
- if the attribute key or the attribute scope is not validpublic void removeAttribute(Scope attrScope, java.lang.Object attrKey)
InvocationContext
removeAttribute
in interface InvocationContext
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |