|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StorageHandler
Handler for storing Page Flow objects.
Method Summary | |
---|---|
boolean |
allowBindingEvent(Object event)
Tell whether a given binding event should be allowed to occur. |
void |
applyChanges(RequestContext context)
Apply any deferred changes, at the end of a chain of requests. |
void |
dropChanges(RequestContext context)
Drop any deferred changes, so they will not be applied at the end of the chain of requests. |
void |
ensureFailover(RequestContext context,
String attributeName,
Object value)
Ensure that the given named attribute is replicated in a cluster for session failover, if appropriate. |
Object |
getAttribute(RequestContext context,
String attributeName)
Get a named attribute. |
Enumeration |
getAttributeNames(RequestContext context)
Get all attribute names. |
void |
removeAttribute(RequestContext context,
String attributeName)
Remove a named attribute. |
void |
setAttribute(RequestContext context,
String attributeName,
Object value)
Set a named attribute. |
Methods inherited from interface Handler |
---|
init, reinit |
Method Detail |
---|
void setAttribute(RequestContext context, String attributeName, Object value)
context
- the current RequestContext.attributeName
- the name of the attribute to set.value
- the attribute value.void removeAttribute(RequestContext context, String attributeName)
context
- the current RequestContext.attributeName
- the name of the attribute to remove.Object getAttribute(RequestContext context, String attributeName)
context
- the current RequestContext.attributeName
- the name of the attribute to get.
null
if there is no such named attribute.void ensureFailover(RequestContext context, String attributeName, Object value)
context
- the current request context.attributeName
- the name of the attribute for which failover should be ensured.value
- the value of the attribute for which failover should be ensured.boolean allowBindingEvent(Object event)
HttpSession
) at some time other than
when setAttribute(org.apache.beehive.netui.pageflow.RequestContext, java.lang.String, java.lang.Object)
is called, in which case a binding event would be misleading. Only
PageFlowManagedObject
s pay attention to this.
event
- the binding event, e.g., javax.servlet.http.HttpSessionBindingEvent
true
if the event should be processed.void applyChanges(RequestContext context)
context
- the current request context.void dropChanges(RequestContext context)
context
- the current request context.Enumeration getAttributeNames(RequestContext context)
context
- the current request context.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |