Class CommunityComponentFactory


  • public final class CommunityComponentFactory
    extends io.deephaven.server.runner.ComponentFactoryBase<CommunityComponentFactory.CommunityComponent>
    The out-of-the-box CommunityComponentFactory.CommunityComponent factory for the Deephaven community server.

    To use this directly, a main class can be configured as follows:

     public final class MyMainClass {
         public static void main(String[] args)
                 throws IOException, InterruptedException, ClassNotFoundException, TimeoutException {
             final Configuration configuration = MainHelper.init(args, MyMainClass.class);
             new CommunityComponentFactory()
                     .build(configuration)
                     .getServer()
                     .run()
                     .join();
         }
     }
     
    Advanced integrators should prefer to create their own component factory that extends ComponentFactoryBase.