Package com.oracle.coherence.cdi.server
Class ServerCoherenceProducer
java.lang.Object
com.oracle.coherence.cdi.CoherenceProducer
com.oracle.coherence.cdi.server.ServerCoherenceProducer
@ApplicationScoped
@Alternative
@Priority(1)
public class ServerCoherenceProducer
extends CoherenceProducer
A CDI server-side 
Coherence bean producer.
 
 This bean is a higher priority alternative to the CoherenceProducer
 bean in the CDI common module.
- Since:
 - 20.12
 - Author:
 - Jonathan Knight 2020.12.15
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptioncreateCoherence(jakarta.enterprise.inject.spi.BeanManager beanManager) Create the defaultCoherencebean.Methods inherited from class com.oracle.coherence.cdi.CoherenceProducer
createConfiguration 
- 
Constructor Details
- 
ServerCoherenceProducer
public ServerCoherenceProducer() 
 - 
 - 
Method Details
- 
createCoherence
@Produces @Singleton @Name("") public Coherence createCoherence(jakarta.enterprise.inject.spi.BeanManager beanManager) Create the defaultCoherencebean.By default the
Coherencebean will be run inCoherence.Mode.ClusterMembermode.The configuration can be changed by supplying a
CoherenceConfiguration.Builderbean annotated with @Namedwith a nameCoherence.DEFAULT_NAME. This configuration bean will then be used to provide the configuration for theCoherencebean.- Overrides:
 createCoherencein classCoherenceProducer- Parameters:
 beanManager- the CDI bean manager- Returns:
 - the default 
Coherencebean 
 
 -