Class TimedObjectInvokerImpl

    • Field Detail

      • SERVICE_NAME

        public static final org.jboss.msc.service.ServiceName SERVICE_NAME
    • Constructor Detail

      • TimedObjectInvokerImpl

        public TimedObjectInvokerImpl​(String deploymentString,
                                      org.jboss.modules.Module module)
    • Method Detail

      • callTimeout

        public void callTimeout​(TimerImpl timer,
                                Method timeoutMethod)
                         throws Exception
        Description copied from interface: TimedObjectInvoker
        Responsible for invoking the timeout method on the target object.

        The timerservice implementation invokes this method as a callback when a timeout occurs for the passed timer. The timerservice implementation will be responsible for passing the correct timeout method corresponding to the timer on which the timeout has occurred.

        Specified by:
        callTimeout in interface TimedObjectInvoker
        Parameters:
        timer - the Timer that is passed to ejbTimeout
        timeoutMethod - The timeout method
        Throws:
        Exception
      • start

        public void start​(org.jboss.msc.service.StartContext context)
                   throws org.jboss.msc.service.StartException
        Specified by:
        start in interface org.jboss.msc.Service
        Specified by:
        start in interface org.jboss.msc.service.Service<TimedObjectInvoker>
        Throws:
        org.jboss.msc.service.StartException
      • stop

        public void stop​(org.jboss.msc.service.StopContext context)
        Specified by:
        stop in interface org.jboss.msc.Service
        Specified by:
        stop in interface org.jboss.msc.service.Service<TimedObjectInvoker>
      • getEjbComponent

        public org.jboss.msc.value.InjectedValue<EJBComponent> getEjbComponent()