TorqueBox 3.1.2

org.torquebox.core.datasource.processors
Class DatabaseYamlParsingProcessor

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.core.datasource.processors.DatabaseYamlParsingProcessor
All Implemented Interfaces:
org.jboss.as.server.deployment.DeploymentUnitProcessor

public class DatabaseYamlParsingProcessor
extends AbstractSplitYamlParsingProcessor

This class is used to read rails database.yml, not a database section of torquebox.yml.


Constructor Summary
DatabaseYamlParsingProcessor()
           
 
Method Summary
 void deploy(org.jboss.as.server.deployment.DeploymentPhaseContext phaseContext)
           
protected  void parse(org.jboss.as.server.deployment.DeploymentUnit unit, Object data)
           
 
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

DatabaseYamlParsingProcessor

public DatabaseYamlParsingProcessor()
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

protected void parse(org.jboss.as.server.deployment.DeploymentUnit unit,
                     Object data)
              throws Exception
Specified by:
parse in class AbstractSplitYamlParsingProcessor
Throws:
Exception

TorqueBox 3.1.2

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