Ejemplo n.º 1
0
 public void invokeTimeoutMethod(final Timer timer) {
   final EJBComponent component = (EJBComponent) getComponent();
   final Method method = component.getTimeoutMethod();
   if (method == null) {
     throw MESSAGES.componentTimeoutMethodNotSet(component.getComponentName());
   }
   invokeTimeoutMethod(method, timer);
 }
 @Override
 public void callTimeout(final TimerImpl timer) throws Exception {
   callTimeout(timer, ejbComponent.getTimeoutMethod());
 }