eXo Kernel :: Container 2.5.0-GA

org.exoplatform.container
Class ConcurrentContainer.CreationalContextComponentAdapter<T>

java.lang.Object
  extended by 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


Constructor Summary
ConcurrentContainer.CreationalContextComponentAdapter()
           
 
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
 

Constructor Detail

ConcurrentContainer.CreationalContextComponentAdapter

public ConcurrentContainer.CreationalContextComponentAdapter()
Method Detail

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


eXo Kernel :: Container 2.5.0-GA

Copyright © 2014 eXo Platform SAS. All Rights Reserved.