@Property(name="service.description", value="%cq.workflow.compat.absolutetimeoutproxy.description") @References(value=@Reference(name="AbsoluteTimeoutHandler",cardinality=OPTIONAL_MULTIPLE,referenceInterface=AbsoluteTimeoutHandler.class,policy=DYNAMIC)) @Service public class AbsoluteTimeoutHandlerProxyImpl extends java.lang.Object implements AbsoluteTimeoutHandlerProxy
Constructor and Description |
---|
AbsoluteTimeoutHandlerProxyImpl() |
Modifier and Type | Method and Description |
---|---|
void |
bindAbsoluteTimeoutHandler(AbsoluteTimeoutHandler timeoutHandler) |
boolean |
canExecute(java.lang.String handlerName) |
AbsoluteTimeoutHandler |
findHandler(java.lang.String handlerName)
Returns a AbsoluteTimeoutHandler if this proxy can handle the request identified by the parameter.
|
long |
getTimeoutDate(WorkItem workItem) |
void |
unbindAbsoluteTimeoutHandler(AbsoluteTimeoutHandler timeoutHandler) |
public void bindAbsoluteTimeoutHandler(AbsoluteTimeoutHandler timeoutHandler)
public void unbindAbsoluteTimeoutHandler(AbsoluteTimeoutHandler timeoutHandler)
public boolean canExecute(java.lang.String handlerName)
public long getTimeoutDate(WorkItem workItem)
public AbsoluteTimeoutHandler findHandler(java.lang.String handlerName)
AbsoluteTimeoutHandlerProxy
findHandler
in interface AbsoluteTimeoutHandlerProxy
handlerName
- name to identify the AbsoluteTimeoutHandler.Copyright © 2010 - 2020 Adobe. All Rights Reserved