public interface InfinispanSchemaDefinition
| Modifier and Type | Method and Description |
|---|---|
org.infinispan.protostream.descriptors.Descriptor |
getDecriptor(InfinispanManagedConnectionFactory config,
Class<?> clz)
Called to obtain a
Descriptor for the specified class. |
void |
initialize(InfinispanManagedConnectionFactory config,
ClassRegistry methodUtil)
Called to perform any initialization required by registering the classes.
|
void |
registerSchema(InfinispanManagedConnectionFactory config)
Called to perform the JDG schema configuration by registering with the remote JDG cache.
|
void initialize(InfinispanManagedConnectionFactory config, ClassRegistry methodUtil) throws javax.resource.ResourceException
config - methodUtil - javax.resource.ResourceExceptionvoid registerSchema(InfinispanManagedConnectionFactory config) throws javax.resource.ResourceException
config - javax.resource.ResourceExceptionorg.infinispan.protostream.descriptors.Descriptor getDecriptor(InfinispanManagedConnectionFactory config, Class<?> clz) throws TranslatorException
Descriptor for the specified class.config - clz - TranslatorException - if no descriptor is found.Copyright © 2017 JBoss by Red Hat. All rights reserved.