TorqueBox 3.1.2

org.torquebox
Class TorqueBox

java.lang.Object
  extended by org.projectodd.polyglot.core.ProjectInfo
      extended by org.torquebox.TorqueBox
All Implemented Interfaces:
org.jboss.msc.service.Service<TorqueBox>, org.jboss.msc.value.Value<TorqueBox>, TorqueBoxMBean

public class TorqueBox
extends org.projectodd.polyglot.core.ProjectInfo
implements TorqueBoxMBean, org.jboss.msc.service.Service<TorqueBox>

Primary marker and build/version information provider.

Author:
Toby Crawley, Bob McWhirter

Field Summary
 
Fields inherited from interface org.jboss.msc.service.Service
NULL, NULL_VALUE
 
Constructor Summary
TorqueBox()
          Construct.
 
Method Summary
 TorqueBox getValue()
           
 void printVersionInfo(org.jboss.logging.Logger log)
           
 void start(org.jboss.msc.service.StartContext context)
           
 void stop(org.jboss.msc.service.StopContext context)
           
 void verifyJRubyVersion(org.jboss.logging.Logger log)
           
 
Methods inherited from class org.projectodd.polyglot.core.ProjectInfo
formatOutput, getBuildInfo, getBuildNumber, getBuildUser, getComponentBuildInfo, getComponentNames, getComponentValue, getRevision, getVersion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.torquebox.TorqueBoxMBean
getBuildNumber, getBuildUser, getComponentBuildInfo, getComponentNames, getRevision, getVersion
 

Constructor Detail

TorqueBox

public TorqueBox()
          throws IOException
Construct.

Throws:
IOException - if an error occurs while reading the underlying properties file.
Method Detail

getValue

public TorqueBox getValue()
                   throws IllegalStateException,
                          IllegalArgumentException
Specified by:
getValue in interface org.jboss.msc.value.Value<TorqueBox>
Throws:
IllegalStateException
IllegalArgumentException

start

public void start(org.jboss.msc.service.StartContext context)
           throws org.jboss.msc.service.StartException
Specified by:
start in interface org.jboss.msc.service.Service<TorqueBox>
Throws:
org.jboss.msc.service.StartException

printVersionInfo

public void printVersionInfo(org.jboss.logging.Logger log)

verifyJRubyVersion

public void verifyJRubyVersion(org.jboss.logging.Logger log)

stop

public void stop(org.jboss.msc.service.StopContext context)
Specified by:
stop in interface org.jboss.msc.service.Service<TorqueBox>

TorqueBox 3.1.2

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