DATATYPE - The type of object to be wrapped. Must implement Serializable.@NotThreadSafe public class ScopeRenewalAwareWrapper<DATATYPE extends Serializable> extends Wrapper<DATATYPE> implements IScopeRenewalAware, Serializable
| Constructor and Description |
|---|
ScopeRenewalAwareWrapper()
Default constructor.
|
ScopeRenewalAwareWrapper(DATATYPE aObj)
Constructor with an existing object.
|
ScopeRenewalAwareWrapper(IReadonlyWrapper<DATATYPE> rhs)
Copy constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static <DATATYPE extends Serializable> |
create(DATATYPE aObj)
Static factory method with automatic type deduction.
|
ScopeRenewalAwareWrapper<DATATYPE> |
getClone() |
public ScopeRenewalAwareWrapper()
public ScopeRenewalAwareWrapper(@Nullable DATATYPE aObj)
aObj - The existing object. May be null.public ScopeRenewalAwareWrapper(@Nonnull IReadonlyWrapper<DATATYPE> rhs)
rhs - The other wrapper to use. May not be null.@Nonnull @ReturnsMutableCopy public ScopeRenewalAwareWrapper<DATATYPE> getClone()
getClone in interface ICloneable<Wrapper<DATATYPE extends Serializable>>getClone in class Wrapper<DATATYPE extends Serializable>@Nonnull public static <DATATYPE extends Serializable> ScopeRenewalAwareWrapper<DATATYPE> create(@Nullable DATATYPE aObj)
DATATYPE - The type to be wrapped.aObj - The object to be wrapped.Copyright © 2014–2015 Philip Helger. All rights reserved.