org.jboss.arquillian.core.impl
Class InstanceImpl<T>

java.lang.Object
  extended by org.jboss.arquillian.core.impl.InstanceImpl<T>
All Implemented Interfaces:
Instance<T>, InstanceProducer<T>

public class InstanceImpl<T>
extends Object
implements InstanceProducer<T>

InstanceImpl

Version:
$Revision: $
Author:
Aslak Knutsen

Method Summary
 T get()
           
static
<X> InstanceImpl<X>
of(Class<X> type, Class<? extends Annotation> scope, ManagerImpl manager)
           
 void set(T value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

of

public static <X> InstanceImpl<X> of(Class<X> type,
                                     Class<? extends Annotation> scope,
                                     ManagerImpl manager)

get

public T get()
Specified by:
get in interface Instance<T>

set

public void set(T value)
Specified by:
set in interface InstanceProducer<T>


Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.