TorqueBox 3.1.2

org.torquebox.jobs.processors
Class JobsYamlParsingProcessor

java.lang.Object
  extended by org.projectodd.polyglot.core.processors.FileLocatingProcessor
      extended by org.projectodd.polyglot.core.processors.AbstractParsingProcessor
          extended by org.torquebox.core.processors.AbstractSplitYamlParsingProcessor
              extended by org.torquebox.jobs.processors.JobsYamlParsingProcessor
All Implemented Interfaces:
org.jboss.as.server.deployment.DeploymentUnitProcessor

public class JobsYamlParsingProcessor
extends AbstractSplitYamlParsingProcessor

Creates ScheduledJobMetaData instances from jobs.yml


Constructor Summary
JobsYamlParsingProcessor()
           
 
Method Summary
 void deploy(org.jboss.as.server.deployment.DeploymentPhaseContext phaseContext)
           
 void parse(org.jboss.as.server.deployment.DeploymentUnit unit, Object dataObject)
           
 
Methods inherited from class org.torquebox.core.processors.AbstractSplitYamlParsingProcessor
getFileName, getSectionName, isStandaloneDeprecated, isSupportsRootless, isSupportsStandalone, isSupportsSuffix, logDeprecation, setFileName, setSectionName, setStandaloneDeprecated, setSupportsRootless, setSupportsStandalone, setSupportsSuffix
 
Methods inherited from class org.projectodd.polyglot.core.processors.AbstractParsingProcessor
getMetaDataFile, getMetaDataFileBySuffix, undeploy
 
Methods inherited from class org.projectodd.polyglot.core.processors.FileLocatingProcessor
getFile, getFilesBySuffix, hasAnyOf
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JobsYamlParsingProcessor

public JobsYamlParsingProcessor()
Method Detail

deploy

public void deploy(org.jboss.as.server.deployment.DeploymentPhaseContext phaseContext)
            throws org.jboss.as.server.deployment.DeploymentUnitProcessingException
Specified by:
deploy in interface org.jboss.as.server.deployment.DeploymentUnitProcessor
Overrides:
deploy in class AbstractSplitYamlParsingProcessor
Throws:
org.jboss.as.server.deployment.DeploymentUnitProcessingException

parse

public void parse(org.jboss.as.server.deployment.DeploymentUnit unit,
                  Object dataObject)
           throws org.jboss.as.server.deployment.DeploymentUnitProcessingException
Specified by:
parse in class AbstractSplitYamlParsingProcessor
Throws:
org.jboss.as.server.deployment.DeploymentUnitProcessingException

TorqueBox 3.1.2

Copyright © 2015 JBoss by Red Hat. All Rights Reserved.