|
JBoss Marshalling 1.2.1.GA | |||||||||
| 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()
Get the object creator, or null if none is specified. |
ExceptionListener |
getExceptionListener()
Get the exception listener to use. |
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. |
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)
Set the object creator, or null to use the default. |
void |
setExceptionListener(ExceptionListener exceptionListener)
Set the exception listener to use. |
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 |
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 resolverpublic Creator getCreator()
null if none is specified.
public void setCreator(Creator creator)
null to use the default.
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 MarshallingConfiguration clone()
clone in class Objectpublic String toString()
toString in class Object
|
JBoss Marshalling 1.2.1.GA | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||