Class AbsoluteTimeoutHandlerProxyImpl

  • All Implemented Interfaces:
    AbsoluteTimeoutHandlerProxy

    @Property(name="service.description",
              value="%cq.workflow.compat.absolutetimeoutproxy.description")
    @References(@Reference(name="AbsoluteTimeoutHandler",cardinality=OPTIONAL_MULTIPLE,referenceInterface=AbsoluteTimeoutHandler.class,policy=DYNAMIC))
    @Service
    public class AbsoluteTimeoutHandlerProxyImpl
    extends java.lang.Object
    implements AbsoluteTimeoutHandlerProxy
    • Constructor Detail

      • AbsoluteTimeoutHandlerProxyImpl

        public AbsoluteTimeoutHandlerProxyImpl()
    • Method Detail

      • bindAbsoluteTimeoutHandler

        public void bindAbsoluteTimeoutHandler​(AbsoluteTimeoutHandler timeoutHandler)
      • unbindAbsoluteTimeoutHandler

        public void unbindAbsoluteTimeoutHandler​(AbsoluteTimeoutHandler timeoutHandler)
      • canExecute

        public boolean canExecute​(java.lang.String handlerName)
      • getTimeoutDate

        public long getTimeoutDate​(WorkItem workItem)
      • findHandler

        public AbsoluteTimeoutHandler findHandler​(java.lang.String handlerName)
        Description copied from interface: AbsoluteTimeoutHandlerProxy
        Returns a AbsoluteTimeoutHandler if this proxy can handle the request identified by the parameter.
        Specified by:
        findHandler in interface AbsoluteTimeoutHandlerProxy
        Parameters:
        handlerName - name to identify the AbsoluteTimeoutHandler.
        Returns:
        an AbsoluteTimeoutHandler if this proxy can handle the provided name, null otherwise.