public class AnnotationSchema extends Object implements InfinispanSchemaDefinition
Constructor and Description |
---|
AnnotationSchema() |
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.
|
public void initialize(InfinispanManagedConnectionFactory config, ClassRegistry methodUtil)
InfinispanSchemaDefinition
initialize
in interface InfinispanSchemaDefinition
public void registerSchema(InfinispanManagedConnectionFactory config) throws javax.resource.ResourceException
InfinispanSchemaDefinition
registerSchema
in interface InfinispanSchemaDefinition
javax.resource.ResourceException
public org.infinispan.protostream.descriptors.Descriptor getDecriptor(InfinispanManagedConnectionFactory config, Class<?> clz) throws TranslatorException
InfinispanSchemaDefinition
Descriptor
for the specified class.getDecriptor
in interface InfinispanSchemaDefinition
TranslatorException
- if no descriptor is found.Copyright © 2016 JBoss by Red Hat. All rights reserved.