org.infinispan.config
Class GlobalConfiguration.SerializationType
java.lang.Object
org.infinispan.config.AbstractConfigurationBean
org.infinispan.config.GlobalConfiguration.SerializationType
- All Implemented Interfaces:
- Serializable, Cloneable, CloneableConfigurationComponent, GlobalConfiguration.SerializationConfig, JAXBUnmarshallable
- Enclosing class:
- GlobalConfiguration
public static class GlobalConfiguration.SerializationType
- extends AbstractConfigurationBean
- implements GlobalConfiguration.SerializationConfig
Serialization and marshalling settings.
- See Also:
- Configuration reference,
Serialized Form
marshallerClass
protected String marshallerClass
version
protected String version
externalizerTypes
protected GlobalConfiguration.ExternalizersType externalizerTypes
GlobalConfiguration.SerializationType
public GlobalConfiguration.SerializationType()
accept
public void accept(ConfigurationBeanVisitor v)
setExternalizerTypes
public void setExternalizerTypes(GlobalConfiguration.ExternalizersType externalizerTypes)
marshallerClass
public GlobalConfiguration.SerializationConfig marshallerClass(Class<? extends Marshaller> marshallerClass)
- Description copied from interface:
GlobalConfiguration.SerializationConfig
- Fully qualified name of the marshaller to use. It must implement
org.infinispan.marshall.StreamingMarshaller
- Specified by:
marshallerClass
in interface GlobalConfiguration.SerializationConfig
version
public GlobalConfiguration.SerializationConfig version(String version)
- Description copied from interface:
GlobalConfiguration.SerializationConfig
- Largest allowable version to use when marshalling internal state. Set this to the lowest
version cache instance in your cluster to ensure compatibility of communications. However,
setting this too low will mean you lose out on the benefit of improvements in newer
versions of the marshaller.
- Specified by:
version
in interface GlobalConfiguration.SerializationConfig
setMarshallerClass
public void setMarshallerClass(String marshallerClass)
setVersion
public void setVersion(String version)
configureExternalizers
public GlobalConfiguration.ExternalizersConfig configureExternalizers()
- Description copied from interface:
GlobalConfiguration.SerializationConfig
- Returns externalizers sub element
- Specified by:
configureExternalizers
in interface GlobalConfiguration.SerializationConfig
- Returns:
- ExternalizersConfig element
inject
public void inject(GlobalComponentRegistry gcr)
hasComponentStarted
protected boolean hasComponentStarted()
- Description copied from class:
AbstractConfigurationBean
- Tests whether the component this configuration bean intents to configure has already started.
- Specified by:
hasComponentStarted
in class AbstractConfigurationBean
- Returns:
- true if the component has started; false otherwise.
clone
public CloneableConfigurationComponent clone()
throws CloneNotSupportedException
- Specified by:
clone
in interface CloneableConfigurationComponent
- Overrides:
clone
in class AbstractConfigurationBean
- Throws:
CloneNotSupportedException
Copyright © 2011 JBoss, a division of Red Hat. All Rights Reserved.