org.jboss.ejb3.timerservice.deployer
Class TimerServiceDeployer

java.lang.Object
  extended by org.jboss.deployers.spi.deployer.helpers.AbstractDeployer
      extended by org.jboss.ejb3.timerservice.deployer.TimerServiceDeployer
All Implemented Interfaces:
org.jboss.deployers.spi.deployer.Deployer, org.jboss.deployers.spi.Ordered

public class TimerServiceDeployer
extends org.jboss.deployers.spi.deployer.helpers.AbstractDeployer

A deployer which processing EJB3.1 bean metadata and creating AutoTimerInitializer for appropriate EJBs.

Each such AutoTimerInitializer will be attached to the DeploymentUnit as a BeanMetaData so that it's deployed as a MC bean.

Version:
$Revision: $
Author:
Jaikiran Pai

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jboss.deployers.spi.Ordered
org.jboss.deployers.spi.Ordered.OrderedComparator
 
Field Summary
 
Fields inherited from class org.jboss.deployers.spi.deployer.helpers.AbstractDeployer
log
 
Fields inherited from interface org.jboss.deployers.spi.Ordered
COMPARATOR
 
Constructor Summary
TimerServiceDeployer()
          Setup the deployer
 
Method Summary
 void deploy(org.jboss.deployers.structure.spi.DeploymentUnit unit)
          For each EJB3.1 bean in this unit, this method creates a AutoTimerInitializer and attaches it as BeanMetaData to the unit
 
Methods inherited from class org.jboss.deployers.spi.deployer.helpers.AbstractDeployer
addInput, addInput, addOutput, addOutput, addRequiredInput, addRequiredInput, changeRelativeOrder, getInput, getInputs, getOutput, getOutputs, getRelativeOrder, getRequiredInputs, getStage, isAllInputs, isComponentsOnly, isParentFirst, isTopLevelOnly, isWantComponents, setAllInputs, setComponentsOnly, setInput, setInputs, setInputs, setInputs, setOutput, setOutputs, setOutputs, setOutputs, setParentFirst, setRelativeOrder, setRequiredInputs, setStage, setTopLevelOnly, setWantComponents, undeploy
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimerServiceDeployer

public TimerServiceDeployer()
Setup the deployer

Method Detail

deploy

public void deploy(org.jboss.deployers.structure.spi.DeploymentUnit unit)
            throws org.jboss.deployers.spi.DeploymentException
For each EJB3.1 bean in this unit, this method creates a AutoTimerInitializer and attaches it as BeanMetaData to the unit

Throws:
org.jboss.deployers.spi.DeploymentException


Copyright © 2010. All Rights Reserved.