|
JBoss Marshalling 1.3.0.CR9 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.marshalling.MarshallingConfiguration
public final class MarshallingConfiguration

A Marshaller configuration.
| Constructor Summary | |
|---|---|
MarshallingConfiguration()
Construct a new instance. |
|
| Method Summary | |
|---|---|
MarshallingConfiguration |
clone()
Create a shallow clone. |
int |
getBufferSize()
Get the configured buffer size. |
int |
getClassCount()
Get the estimated class count for this configuration. |
ClassExternalizerFactory |
getClassExternalizerFactory()
Get the class externalizer factory, or null if none is specified. |
ClassResolver |
getClassResolver()
Get the class resolver, or null if none is specified. |
ClassTable |
getClassTable()
Get the class table, or null if none is specified. |
Creator |
getCreator()
Deprecated. Use getExternalizerCreator() or getSerializedCreator() instead. |
ExceptionListener |
getExceptionListener()
Get the exception listener to use. |
Creator |
getExternalizerCreator()
Get the creator to use for externalized objects. |
int |
getInstanceCount()
Get the estimated instance count for this configuration. |
ObjectResolver |
getObjectResolver()
Get the object resolver, or null if none is specified. |
ObjectTable |
getObjectTable()
Get the object table, or null if none is specified. |
SerializabilityChecker |
getSerializabilityChecker()
Get the serializability checker. |
Creator |
getSerializedCreator()
Get the creator to use for serialized objects. |
StreamHeader |
getStreamHeader()
Get the stream header, or null if none is specified. |
int |
getVersion()
Get the version to use, for protocols with multiple versions. |
void |
setBufferSize(int bufferSize)
Set the configured buffer size. |
void |
setClassCount(int classCount)
Set the estimated class count for this configuration. |
void |
setClassExternalizerFactory(ClassExternalizerFactory classExternalizerFactory)
Set the class externalizer factory. |
void |
setClassResolver(ClassResolver classResolver)
Set the class resolver, or null to use the default. |
void |
setClassTable(ClassTable classTable)
Set the class table, or null to use none. |
void |
setCreator(Creator creator)
Deprecated. Use setExternalizerCreator(Creator) or setSerializedCreator(Creator) instead. |
void |
setExceptionListener(ExceptionListener exceptionListener)
Set the exception listener to use. |
void |
setExternalizerCreator(Creator externalizerCreator)
Set the creator to use for externalized objects. |
void |
setInstanceCount(int instanceCount)
Set the estimated instance count for this configuration. |
void |
setObjectResolver(ObjectResolver objectResolver)
Set the object resolver, or null to use none. |
void |
setObjectTable(ObjectTable objectTable)
Set the object table, or null to use none. |
void |
setSerializabilityChecker(SerializabilityChecker serializabilityChecker)
Set the serializability checker. |
void |
setSerializedCreator(Creator serializedCreator)
Set the creator to use for serialized objects. |
void |
setStreamHeader(StreamHeader streamHeader)
Set the stream header. |
void |
setVersion(int version)
Set the version to use, for protocols with multiple versions. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MarshallingConfiguration()
| Method Detail |
|---|
public ClassExternalizerFactory getClassExternalizerFactory()
null if none is specified.
public void setClassExternalizerFactory(ClassExternalizerFactory classExternalizerFactory)
null to use none.
classExternalizerFactory - the class externalizer factorypublic StreamHeader getStreamHeader()
null if none is specified.
public void setStreamHeader(StreamHeader streamHeader)
null to use none.
streamHeader - the stream headerpublic ClassResolver getClassResolver()
null if none is specified.
public void setClassResolver(ClassResolver classResolver)
null to use the default.
classResolver - the class resolverpublic ObjectResolver getObjectResolver()
null if none is specified.
public void setObjectResolver(ObjectResolver objectResolver)
null to use none.
objectResolver - the object resolver@Deprecated public Creator getCreator()
getExternalizerCreator() or getSerializedCreator() instead.
null if none is specified. Used only if a more specific creator type
was not specified.
@Deprecated public void setCreator(Creator creator)
setExternalizerCreator(Creator) or setSerializedCreator(Creator) instead.
null to use the default. Used only if a more specific creator type
was not specified.
creator - the object creatorpublic ClassTable getClassTable()
null if none is specified.
public void setClassTable(ClassTable classTable)
null to use none.
classTable - the class tablepublic ObjectTable getObjectTable()
null if none is specified.
public void setObjectTable(ObjectTable objectTable)
null to use none.
objectTable - the object tablepublic int getInstanceCount()
public void setInstanceCount(int instanceCount)
instanceCount - the instance countpublic int getClassCount()
public void setClassCount(int classCount)
classCount - the class countpublic int getBufferSize()
public void setBufferSize(int bufferSize)
bufferSize - the buffer size, in bytespublic int getVersion()
public void setVersion(int version)
version - the version to usepublic ExceptionListener getExceptionListener()
public void setExceptionListener(ExceptionListener exceptionListener)
exceptionListener - the exception listenerpublic Creator getExternalizerCreator()
getCreator().
public void setExternalizerCreator(Creator externalizerCreator)
externalizerCreator - the creatorpublic Creator getSerializedCreator()
getCreator().
public void setSerializedCreator(Creator serializedCreator)
serializedCreator - the creatorpublic SerializabilityChecker getSerializabilityChecker()
public void setSerializabilityChecker(SerializabilityChecker serializabilityChecker)
serializabilityChecker - the new serializability checkerpublic MarshallingConfiguration clone()
clone in class Objectpublic String toString()
toString in class Object
|
JBoss Marshalling 1.3.0.CR9 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||