Package com.tangosol.coherence.jcache
Class JCacheExtendNamespace
java.lang.Object
com.tangosol.config.xml.AbstractNamespaceHandler
com.tangosol.coherence.jcache.JCacheExtendNamespace
- All Implemented Interfaces:
 NamespaceHandler
A 
NamespaceHandler to enable and enhance Coherence-based
 configurations to be used with the Coherence-based JCache Extend implementation- Since:
 - Coherence 12.2.1
 - Author:
 - bo 2013.11.06, jf 2014.06.12
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidonEndNamespace(ProcessingContext processingContext, XmlElement xmlElement, String s, URI uri) <!-- Generated by JCacheExtendNamespace --> <caching-scheme-mapping> <cache-mapping> <cache-name>jcache-partitioned-*</cache-name> <scheme-name>jcache-extend-tcp</scheme-name> </cache-mapping> <cache-mapping> <cache-name>jcache-configurations</cache-name> <scheme-name>jcache-extend-tcp</scheme-name> </cache-mapping> </caching-scheme-mapping> <caching-schemes> <remote-cache-scheme> <scheme-name>jcache-extend-tcp</scheme-name> <!-- TODO: scope-name probably needed within container context. --> <!-- <scope-name>jcache-extend</scope-name> --> <service-name>JCacheTCPProxyService</service-name> <proxy-service-name>TCPProxyService</proxy-service-name> <initiator-config> <tcp-initiator> <name-service-addresses> <socket-address> <address system-property="coherence.remote.address">127.0.0.1</address> <port system-property="coherence.clusterport">7574</port> </socket-address> </name-service-addresses> </tcp-initiator> </initiator-config> </remote-cache-scheme> </caching-schemes>Methods inherited from class com.tangosol.config.xml.AbstractNamespaceHandler
getAttributeProcessor, getAttributeProcessor, getDocumentPreprocessor, getElementProcessor, getElementProcessor, onStartNamespace, onUnknownAttribute, onUnknownElement, registerAttributeType, registerElementType, registerProcessor, registerProcessor, registerProcessor, setDocumentPreprocessorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.tangosol.config.xml.NamespaceHandler
getOverrideProcessor 
- 
Constructor Details
- 
JCacheExtendNamespace
public JCacheExtendNamespace() 
 - 
 - 
Method Details
- 
onEndNamespace
public void onEndNamespace(ProcessingContext processingContext, XmlElement xmlElement, String s, URI uri) <!-- Generated by JCacheExtendNamespace --> <caching-scheme-mapping> <cache-mapping> <cache-name>jcache-partitioned-*</cache-name> <scheme-name>jcache-extend-tcp</scheme-name> </cache-mapping> <cache-mapping> <cache-name>jcache-configurations</cache-name> <scheme-name>jcache-extend-tcp</scheme-name> </cache-mapping> </caching-scheme-mapping> <caching-schemes> <remote-cache-scheme> <scheme-name>jcache-extend-tcp</scheme-name> <!-- TODO: scope-name probably needed within container context. --> <!-- <scope-name>jcache-extend</scope-name> --> <service-name>JCacheTCPProxyService</service-name> <proxy-service-name>TCPProxyService</proxy-service-name> <initiator-config> <tcp-initiator> <name-service-addresses> <socket-address> <address system-property="coherence.remote.address">127.0.0.1</address> <port system-property="coherence.clusterport">7574</port> </socket-address> </name-service-addresses> </tcp-initiator> </initiator-config> </remote-cache-scheme> </caching-schemes>- Specified by:
 onEndNamespacein interfaceNamespaceHandler- Overrides:
 onEndNamespacein classAbstractNamespaceHandler- Parameters:
 processingContext- the documentProcessingContextin which the xml namespace was encounteredxmlElement- theXmlElementin which the xml namespace was encountereds- the prefix of the declared xml namespaceuri- theURIof the declared xml namespace
 
 -