Package com.adaptris.core.management
Class NoAdapterBootstrap
- java.lang.Object
-
- com.adaptris.core.management.NoAdapterBootstrap
-
public class NoAdapterBootstrap extends java.lang.Object
Entry point into an adapter from the command line. Basically the same asSimpleBootstrap
but without the Adapter being started.
-
-
Constructor Summary
Constructors Constructor Description NoAdapterBootstrap(java.lang.String[] argv)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
boot()
protected BootstrapProperties
bootProperties()
protected boolean
configCheckOnly()
protected java.lang.String
getBootstrapResource()
protected ArgUtil
getCommandlineArguments()
protected void
logVersionInformation()
Log version information.static void
main(java.lang.String[] argv)
Entry point to program.protected void
standardBoot()
protected void
startAdapter(BootstrapProperties bootProperties)
protected boolean
startQuietly()
-
-
-
Method Detail
-
boot
public void boot() throws java.lang.Exception
- Throws:
java.lang.Exception
-
main
public static void main(java.lang.String[] argv) throws java.lang.Exception
Entry point to program.
- Parameters:
argv
- - Command line arguments- Throws:
java.lang.Exception
- upon some unrecoverable error.
-
configCheckOnly
protected boolean configCheckOnly()
-
startQuietly
protected boolean startQuietly()
-
getBootstrapResource
protected java.lang.String getBootstrapResource()
-
getCommandlineArguments
protected ArgUtil getCommandlineArguments()
-
bootProperties
protected BootstrapProperties bootProperties()
-
standardBoot
protected void standardBoot() throws java.lang.Exception
- Throws:
java.lang.Exception
-
startAdapter
protected void startAdapter(BootstrapProperties bootProperties) throws java.lang.Exception
- Throws:
java.lang.Exception
-
logVersionInformation
protected void logVersionInformation()
Log version information.Note that if the commandline arguments contain "-version" then System.exit() will be invoked after printing out version information.
-
-