<Insert Picture Here> Coherence 12.1.2 Configuration Enhancements Part 1: @Injectables Brian Oliver Senior Consulting Member of Staff Cloud Application Foundation - Oracle Coherence Oracle Fusion Middleware 12c Cloud Application Foundation Coherence 12.1.2
24
Embed
Coherence Configuration Enhancements - Part 1 - Injectables
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
<Insert Picture Here>
Coherence 12.1.2 Configuration EnhancementsPart 1: @InjectablesBrian OliverSenior Consulting Member of StaffCloud Application Foundation - Oracle Coherence
Oracle Fusion Middleware 12c Cloud Application Foundation
The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracle’s products remains at the sole discretion of Oracle.
Old Style Cache Store Configuration<cache-config xmlns="http://xmlns.oracle.com/coherence/coherence-cache-config" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="" xsi:schemaLocation="http://xmlns.oracle.com/coherence/coherence-cache-config coherence-cache-config.xsd">
public class MyOldStyleCacheStore extends AbstractCacheStore{ @Override public Object load(Object o) { return null; // we're not going to support loading }
• Applicable when Coherence is provided with an Object…– It will attempt to initialize it with appropriate @Injectables– Based on the “context” of Object usage– Before it uses the Object for the first time
• eg: For <class-scheme> Coherence will try to inject…– cache-name, manager-context– ConfigurableCacheFactory, ClassLoader– Any other Named/Typed Resource from the Resource Registry
The proceeding is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracle’s products remains at the sole discretion of Oracle.
<Insert Picture Here>
Coherence 12.1.2 Configuration EnhancementsPart 1: @InjectablesBrian OliverSenior Consulting Member of StaffCloud Application Foundation - Oracle Coherence
Oracle Fusion Middleware 12c Cloud Application Foundation