org.jboss.jsr299.tck
Class ForwardingBean<T>

java.lang.Object
  extended by org.jboss.jsr299.tck.ForwardingBean<T>
All Implemented Interfaces:
javax.enterprise.context.spi.Contextual<T>, javax.enterprise.inject.spi.Bean<T>

public abstract class ForwardingBean<T>
extends Object
implements javax.enterprise.inject.spi.Bean<T>


Constructor Summary
protected ForwardingBean()
           
 
Method Summary
 T create(javax.enterprise.context.spi.CreationalContext<T> creationalContext)
           
protected abstract  javax.enterprise.inject.spi.Bean<T> delegate()
           
 void destroy(T instance, javax.enterprise.context.spi.CreationalContext<T> creationalContext)
           
 boolean equals(Object obj)
           
 Set<javax.enterprise.inject.spi.InjectionPoint> getInjectionPoints()
           
 String getName()
           
 Set<Annotation> getQualifiers()
           
 Class<? extends Annotation> getScope()
           
 Set<Type> getTypes()
           
 int hashCode()
           
 boolean isNullable()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface javax.enterprise.inject.spi.Bean
getBeanClass, getStereotypes, isAlternative
 

Constructor Detail

ForwardingBean

protected ForwardingBean()
Method Detail

delegate

protected abstract javax.enterprise.inject.spi.Bean<T> delegate()

getQualifiers

public Set<Annotation> getQualifiers()
Specified by:
getQualifiers in interface javax.enterprise.inject.spi.Bean<T>

getInjectionPoints

public Set<javax.enterprise.inject.spi.InjectionPoint> getInjectionPoints()
Specified by:
getInjectionPoints in interface javax.enterprise.inject.spi.Bean<T>

getName

public String getName()
Specified by:
getName in interface javax.enterprise.inject.spi.Bean<T>

getScope

public Class<? extends Annotation> getScope()
Specified by:
getScope in interface javax.enterprise.inject.spi.Bean<T>

getTypes

public Set<Type> getTypes()
Specified by:
getTypes in interface javax.enterprise.inject.spi.Bean<T>

isNullable

public boolean isNullable()
Specified by:
isNullable in interface javax.enterprise.inject.spi.Bean<T>

create

public T create(javax.enterprise.context.spi.CreationalContext<T> creationalContext)
Specified by:
create in interface javax.enterprise.context.spi.Contextual<T>

destroy

public void destroy(T instance,
                    javax.enterprise.context.spi.CreationalContext<T> creationalContext)
Specified by:
destroy in interface javax.enterprise.context.spi.Contextual<T>

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2008-2012 Seam Framework. All Rights Reserved.