|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jp.develop.common.util.amf.decoder.ObjectWriterOption
public class ObjectWriterOption
Configuration options for ObjectWriter. You can add a factory of object proxy for each class.
ObjectWriter
Nested Class Summary | |
---|---|
static interface |
ObjectWriterOption.IObjectProxyFactory
Interface for the factory of object proxy. |
Constructor Summary | |
---|---|
ObjectWriterOption()
Default constructor. |
Method Summary | |
---|---|
static ObjectWriterOption |
getDefault()
Get default configuration option. |
IObjectWriter.IObjectProxy |
getProxy(Class<?> clazz)
Get proxy object for the class. |
void |
putFactory(Class<?> clazz,
ObjectWriterOption.IObjectProxyFactory factory)
Put factory for the class. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ObjectWriterOption()
Method Detail |
---|
public static ObjectWriterOption getDefault()
public void putFactory(Class<?> clazz, ObjectWriterOption.IObjectProxyFactory factory)
clazz
- Target class of the factory.factory
- The factory for object proxy.public IObjectWriter.IObjectProxy getProxy(Class<?> clazz)
clazz
- The target class of the proxy object.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |