Class Server


  • public class Server
    extends Object
    This class bootstraps the CDI container, which will in turn start Coherence server via CDI extension.

    This class should only be used when Coherence CDI is used in a standalone mode. When used with Helidon 2.0, Helidon's io.helidon.microprofile.cdi.Main should be used instead and will ensure that both Helidon and Coherence services are started correctly.

    Since:
    20.06
    Author:
    Aleks Seovic 2020.03.24
    • Constructor Detail

      • Server

        public Server()
    • Method Detail

      • main

        public static void main​(String[] args)
        Main method that creates and starts CdiCacheServer.
        Parameters:
        args - program arguments