public interface ObjectReference<T>
HttpSession
or ThreadLocal
).
This interface is typically implemented by someone integrating Pico into an existing container.Modifier and Type | Method and Description |
---|---|
T |
get()
Retrieve an actual reference to the object.
|
void |
set(T item)
Assign an object to the reference.
|
T get()
void set(T item)
item
- the object to assign to the reference. May be null
.