public class ThreadLocalStackService<T> extends Object implements org.jboss.weld.bootstrap.api.Service
Constructor and Description |
---|
ThreadLocalStackService() |
Modifier and Type | Method and Description |
---|---|
void |
cleanup() |
T |
peek()
The injection point being operated on for this thread
|
T |
pop() |
void |
push(T item)
Replaces (or adds) the current injection point.
|
public void push(T item)
item
- the injection point to usepublic T pop()
public T peek()
public void cleanup()
cleanup
in interface org.jboss.weld.bootstrap.api.Service
Copyright © 2016. All rights reserved.