Package com.oracle.coherence.cdi.server
Class Server
java.lang.Object
com.oracle.coherence.cdi.server.Server
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
Main method that creates and startsCdiCacheServer
.void
start()
Starts CDI, which will indirectly startDefaultCacheServer
.
-
Constructor Details
-
Server
public Server()
-
-
Method Details
-
main
Main method that creates and startsCdiCacheServer
.- Parameters:
args
- program arguments
-
start
public void start()Starts CDI, which will indirectly startDefaultCacheServer
.
-