|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.portal.common.invocation.AbstractInvocationContext
| Nested Class Summary | |
private static class |
AbstractInvocationContext.AttributeResolverRegistration
|
private static class |
AbstractInvocationContext.InvocationContextRegistration
|
private static class |
AbstractInvocationContext.Registration
Typed registration to avoid issues classes that implement both interfaces AttributeResolver and InvocationContext. |
| Field Summary | |
private java.util.Map |
resolvers
. |
| 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 |
| Field Detail |
private final java.util.Map resolvers
| Constructor Detail |
public AbstractInvocationContext()
| Method Detail |
protected final void addResolver(Scope resolverScope, InvocationContext federatedContext) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentExceptionprotected final void addResolver(Scope resolverScope, AttributeResolver resolver) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentExceptionpublic AttributeResolver getAttributeResolver(Scope attrScope) throws java.lang.IllegalArgumentException
InvocationContext
getAttributeResolver in interface InvocationContextattrScope - 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 InvocationContextattrScope - the attribute scopeattrKey -
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 InvocationContextattrScope - the attribute scopeattrKey - attrValue - 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 InvocationContextattrKey -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||