org.jboss.seam.solder.unwraps
Class UnwrapsProducerBean<M>
java.lang.Object
org.jboss.seam.solder.unwraps.UnwrapsProducerBean<M>
- All Implemented Interfaces:
- Contextual<M>, Bean<M>
public class UnwrapsProducerBean<M>
- extends Object
- implements Bean<M>
Bean implementation that produces a JDK proxy
when a method is invoked on the proxy it calls the Unwraps producer method
and invokes the method on the returned object
- Author:
- Stuart Douglas
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UnwrapsProducerBean
public UnwrapsProducerBean(AnnotatedMethod<?> method,
BeanManager manager)
UnwrapsProducerBean
public UnwrapsProducerBean(AnnotatedMethod<?> method,
Set<Annotation> methodQualifiers,
Set<Annotation> beanQualifiers,
BeanManager manager)
getBeanClass
public Class<?> getBeanClass()
- Specified by:
getBeanClass
in interface Bean<M>
getInjectionPoints
public Set<InjectionPoint> getInjectionPoints()
- Specified by:
getInjectionPoints
in interface Bean<M>
getName
public String getName()
- Specified by:
getName
in interface Bean<M>
getQualifiers
public Set<Annotation> getQualifiers()
- Specified by:
getQualifiers
in interface Bean<M>
getScope
public Class<? extends Annotation> getScope()
- the proxies that are injected all have Dependant scope
- Specified by:
getScope
in interface Bean<M>
getStereotypes
public Set<Class<? extends Annotation>> getStereotypes()
- Specified by:
getStereotypes
in interface Bean<M>
getTypes
public Set<Type> getTypes()
- Specified by:
getTypes
in interface Bean<M>
isAlternative
public boolean isAlternative()
- Specified by:
isAlternative
in interface Bean<M>
isNullable
public boolean isNullable()
- Specified by:
isNullable
in interface Bean<M>
create
public M create(CreationalContext<M> creationalContext)
- Specified by:
create
in interface Contextual<M>
destroy
public void destroy(M instance,
CreationalContext<M> creationalContext)
- Specified by:
destroy
in interface Contextual<M>
Copyright © 2011 Seam Framework. All Rights Reserved.