Class NoAdapterBootstrap


  • public class NoAdapterBootstrap
    extends java.lang.Object
    Entry point into an adapter from the command line. Basically the same as SimpleBootstrap but without the Adapter being started.
    • Constructor Detail

      • NoAdapterBootstrap

        public NoAdapterBootstrap​(java.lang.String[] argv)
                           throws java.lang.Exception
        Throws:
        java.lang.Exception
    • 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()
      • 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.