FileDocCategorySizeDatePackage
TimerServiceFacade.javaAPI DocJBoss 4.2.13006Fri Jul 13 20:53:54 BST 2007org.jboss.ejb3.timerservice.jboss

TimerServiceFacade

public class TimerServiceFacade extends Object implements javax.ejb.TimerService
Comment
author
Carlo de Wolf
version
$Revision: $

Fields Summary
private javax.ejb.TimerService
delegate
private ObjectName
containerId
Constructors Summary
protected TimerServiceFacade(ObjectName containerId, javax.ejb.TimerService delegate)

      this.containerId = containerId;
      this.delegate = delegate;
   
Methods Summary
public javax.ejb.TimercreateTimer(java.util.Date initialExpiration, long intervalDuration, java.io.Serializable info)

      return delegate.createTimer(initialExpiration, intervalDuration, info);
   
public javax.ejb.TimercreateTimer(java.util.Date expiration, java.io.Serializable info)

      return delegate.createTimer(expiration, info);
   
public javax.ejb.TimercreateTimer(long initialDuration, long intervalDuration, java.io.Serializable info)

      return delegate.createTimer(initialDuration, intervalDuration, info);
   
public javax.ejb.TimercreateTimer(long duration, java.io.Serializable info)

      return delegate.createTimer(duration, info);
   
protected org.jboss.ejb3.EJBContainergetContainer()

      return (EJBContainer) Ejb3Registry.getContainer(getContainerId().getCanonicalName());
   
protected javax.management.ObjectNamegetContainerId()

      return containerId;
   
public java.util.CollectiongetTimers()

      return delegate.getTimers();