public class ProtobufSchema extends Object implements InfinispanSchemaDefinition
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,org.infinispan.protostream.BaseMarshaller> |
messageMarshallerMap |
static org.teiid.core.BundleUtil |
UTIL |
| Constructor and Description |
|---|
ProtobufSchema() |
| 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) throws javax.resource.ResourceException
InfinispanSchemaDefinitioninitialize in interface InfinispanSchemaDefinitionjavax.resource.ResourceExceptionpublic void registerSchema(InfinispanManagedConnectionFactory config) throws javax.resource.ResourceException
InfinispanSchemaDefinitionregisterSchema in interface InfinispanSchemaDefinitionjavax.resource.ResourceExceptionpublic org.infinispan.protostream.descriptors.Descriptor getDecriptor(InfinispanManagedConnectionFactory config, Class<?> clz) throws TranslatorException
InfinispanSchemaDefinitionDescriptor for the specified class.getDecriptor in interface InfinispanSchemaDefinitionTranslatorException - if no descriptor is found.Copyright © 2017 JBoss by Red Hat. All rights reserved.