@Deprecated public static class GlobalConfiguration.SerializationType extends AbstractConfigurationBean implements FluentGlobalConfiguration.SerializationConfig
Modifier and Type | Field and Description |
---|---|
protected GlobalConfiguration.AdvancedExternalizersType |
externalizerTypes
Deprecated.
|
protected String |
marshallerClass
Deprecated.
|
protected String |
version
Deprecated.
|
overriddenConfigurationElements
Constructor and Description |
---|
GlobalConfiguration.SerializationType()
Deprecated.
|
testImmutability, toTypedProperties, toTypedProperties, uc, willUnmarshall
protected String marshallerClass
protected String version
protected GlobalConfiguration.AdvancedExternalizersType externalizerTypes
public GlobalConfiguration.SerializationType()
public void accept(ConfigurationBeanVisitor v)
public String getMarshallerClass()
@Deprecated public void setMarshallerClass(String marshallerClass)
marshallerClass(Class)
insteadpublic FluentGlobalConfiguration.SerializationConfig marshallerClass(Class<? extends Marshaller> marshallerClass)
FluentGlobalConfiguration.SerializationConfig
marshallerClass
in interface FluentGlobalConfiguration.SerializationConfig
public String getVersion()
@Deprecated public void setVersion(String version)
version(String)
insteadpublic FluentGlobalConfiguration.SerializationConfig version(String version)
FluentGlobalConfiguration.SerializationConfig
version
in interface FluentGlobalConfiguration.SerializationConfig
public FluentGlobalConfiguration.SerializationConfig version(short marshallVersion)
version
in interface FluentGlobalConfiguration.SerializationConfig
public <T> FluentGlobalConfiguration.SerializationConfig addAdvancedExternalizer(Class<? extends AdvancedExternalizer<T>> clazz)
FluentGlobalConfiguration.SerializationConfig
AdvancedExternalizer
.addAdvancedExternalizer
in interface FluentGlobalConfiguration.SerializationConfig
T
- type of the object that the AdvancedExternalizer marshallsclazz
- externalizer classpublic <T> FluentGlobalConfiguration.SerializationConfig addAdvancedExternalizer(int id, Class<? extends AdvancedExternalizer<T>> clazz)
FluentGlobalConfiguration.SerializationConfig
AdvancedExternalizer
with the give id.addAdvancedExternalizer
in interface FluentGlobalConfiguration.SerializationConfig
T
- type of the object that the AdvancedExternalizer marshallsid
- id of externlizerclazz
- externalizer classpublic <T> FluentGlobalConfiguration.SerializationConfig addAdvancedExternalizer(AdvancedExternalizer<T>... advancedExternalizers)
FluentGlobalConfiguration.SerializationConfig
AdvancedExternalizer
implementations.addAdvancedExternalizer
in interface FluentGlobalConfiguration.SerializationConfig
public <T> FluentGlobalConfiguration.SerializationConfig addAdvancedExternalizer(int id, AdvancedExternalizer<T> advancedExternalizer)
FluentGlobalConfiguration.SerializationConfig
AdvancedExternalizer
implementation
alongside its corresponding identifier. Remember that the identifier needs to a be positive
number, including 0, and cannot clash with other identifiers in the system.addAdvancedExternalizer
in interface FluentGlobalConfiguration.SerializationConfig
public FluentGlobalConfiguration.SerializationConfig classResolver(ClassResolver classResolver)
FluentGlobalConfiguration.SerializationConfig
classResolver
in interface FluentGlobalConfiguration.SerializationConfig
public FluentGlobalConfiguration.TransportConfig transport()
public FluentGlobalConfiguration.GlobalJmxStatisticsConfig globalJmxStatistics()
FluentGlobalConfiguration.GlobalJmxStatisticsConfig.disable()
public FluentGlobalConfiguration.SerializationConfig serialization()
public FluentGlobalConfiguration.ExecutorFactoryConfig<ExecutorFactory> asyncTransportExecutor()
public FluentGlobalConfiguration.ExecutorFactoryConfig<ExecutorFactory> asyncListenerExecutor()
public FluentGlobalConfiguration.ExecutorFactoryConfig<ScheduledExecutorFactory> evictionScheduledExecutor()
public FluentGlobalConfiguration.ExecutorFactoryConfig<ScheduledExecutorFactory> replicationQueueScheduledExecutor()
public FluentGlobalConfiguration.ShutdownConfig shutdown()
public GlobalConfiguration build()
public void inject(GlobalComponentRegistry gcr, GlobalConfiguration globalConfig)
protected boolean hasComponentStarted()
AbstractConfigurationBean
hasComponentStarted
in class AbstractConfigurationBean
public CloneableConfigurationComponent clone() throws CloneNotSupportedException
clone
in interface CloneableConfigurationComponent
clone
in class AbstractConfigurationBean
CloneNotSupportedException
public FluentGlobalConfiguration.TransportConfig transport()
public FluentGlobalConfiguration.GlobalJmxStatisticsConfig globalJmxStatistics()
FluentGlobalConfiguration.GlobalJmxStatisticsConfig.disable()
public FluentGlobalConfiguration.SerializationConfig serialization()
public FluentGlobalConfiguration.ExecutorFactoryConfig<ExecutorFactory> asyncListenerExecutor()
public FluentGlobalConfiguration.ExecutorFactoryConfig<ExecutorFactory> asyncTransportExecutor()
public FluentGlobalConfiguration.ExecutorFactoryConfig<ScheduledExecutorFactory> evictionScheduledExecutor()
public FluentGlobalConfiguration.ExecutorFactoryConfig<ScheduledExecutorFactory> replicationQueueScheduledExecutor()
public FluentGlobalConfiguration.ShutdownConfig shutdown()
public GlobalConfiguration build()
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.