Package com.oracle.coherence.cdi.server
Class Server
- java.lang.Object
-
- com.oracle.coherence.cdi.server.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 Summary
Constructors Constructor Description Server()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
main(String[] args)
Main method that creates and startsCdiCacheServer
.void
start()
Starts CDI, which will indirectly startDefaultCacheServer
.
-
-
-
Method Detail
-
main
public static void main(String[] args)
Main method that creates and startsCdiCacheServer
.- Parameters:
args
- program arguments
-
start
public void start()
Starts CDI, which will indirectly startDefaultCacheServer
.
-
-