public class SynchronizedDecoratorExternalizer<T> extends DecoratorExternalizer<T>
| Constructor and Description |
|---|
SynchronizedDecoratorExternalizer(Class<T> decoratedClass,
UnaryOperator<T> decorator,
T sample)
Constructs a decorator externalizer.
|
| Modifier and Type | Method and Description |
|---|---|
void |
writeObject(ObjectOutput output,
T value) |
getTargetClass, readObject, runclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsizepublic SynchronizedDecoratorExternalizer(Class<T> decoratedClass, UnaryOperator<T> decorator, T sample)
decoratedClass - the generalized type of the decorated objectdecorator - the decoration functionsample - a sample object used to determine the type of the decorated objectpublic void writeObject(ObjectOutput output, T value) throws IOException
writeObject in interface Externalizer<T>writeObject in class DecoratorExternalizer<T>IOExceptionCopyright © 2021 JBoss by Red Hat. All rights reserved.