org.jboss.ejb3.timerservice.deployer
Class AutoTimerInitializer

java.lang.Object
  extended by org.jboss.ejb3.timerservice.deployer.AutoTimerInitializer

public class AutoTimerInitializer
extends java.lang.Object

Responsible for creating any necessary auto timers for an EJB

The AutoTimerInitializer "listens" for EJBContainers which reach ControllerState.START state. The AutoTimerInitializer then checks the EJB metadata associated with such containers and decides whether auto-timers have to be created for that container. For any such relevant container, this AutoTimerInitializer then creates the auto-timer(s).

Version:
$Revision: $
Author:
Jaikiran Pai

Constructor Summary
AutoTimerInitializer()
           
 
Method Summary
 void initializeAutoTimers(org.jboss.ejb3.EJBContainer container)
          Creates auto-timer(s) for the passed EJBContainer if the corresponding EJB has auto-timers configured
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AutoTimerInitializer

public AutoTimerInitializer()
Method Detail

initializeAutoTimers

public void initializeAutoTimers(org.jboss.ejb3.EJBContainer container)
Creates auto-timer(s) for the passed EJBContainer if the corresponding EJB has auto-timers configured

Parameters:
container - The EJB container


Copyright © 2010. All Rights Reserved.