de.innovationgate.utils
public class TransientObjectWrapper<T> extends java.lang.Object implements java.io.Serializable
Constructor and Description |
---|
TransientObjectWrapper()
Creates a normal transient object wrapper
|
TransientObjectWrapper(boolean transientMode)
Creates an object wrapper where the argument decides if it should really store its wrapped object transient.
|
Modifier and Type | Method and Description |
---|---|
T |
get() |
boolean |
isTransient()
Returns if the object stored by the wrapper is transient and is not serialized
|
void |
set(T object) |
public TransientObjectWrapper()
public TransientObjectWrapper(boolean transientMode)
transientMode
- Determines if the object should really be stored transient or persistent (meaning it will be serializable)