org.exoplatform.container
Class ConcurrentContainer.CreationalContextComponentAdapter<T>
java.lang.Object
org.exoplatform.container.ConcurrentContainer.CreationalContextComponentAdapter<T>
- All Implemented Interfaces:
- javax.enterprise.context.spi.CreationalContext<T>
- Enclosing class:
- ConcurrentContainer
public static class ConcurrentContainer.CreationalContextComponentAdapter<T>
- extends Object
- implements javax.enterprise.context.spi.CreationalContext<T>
This class is used as value holder
|
Method Summary |
T |
get()
Gives the current value |
void |
push(T incompleteInstance)
|
void |
release()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConcurrentContainer.CreationalContextComponentAdapter
public ConcurrentContainer.CreationalContextComponentAdapter()
push
public void push(T incompleteInstance)
-
- Specified by:
push in interface javax.enterprise.context.spi.CreationalContext<T>
release
public void release()
-
- Specified by:
release in interface javax.enterprise.context.spi.CreationalContext<T>
get
public T get()
- Gives the current value
Copyright © 2014 eXo Platform SAS. All Rights Reserved.