|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.seam.solder.serviceHandler.ServiceHandlerExtension
public class ServiceHandlerExtension
This extension automatically implements interfaces and abstract classes.
Field Summary | |
---|---|
protected Set<javax.enterprise.inject.spi.Bean<?>> |
beans
|
protected boolean |
enabled
|
protected Set<Throwable> |
problems
|
Method Summary | ||
---|---|---|
protected
|
buildBean(javax.enterprise.inject.spi.AnnotatedType<X> annotatedType,
javax.enterprise.inject.spi.BeanManager beanManager,
Class<?> handlerClass)
Builds the bean that will do the intercepting / proxying. |
|
protected
|
getHandlerClass(javax.enterprise.inject.spi.ProcessAnnotatedType<X> event)
Gets the handler type either from the ServiceHandlerType annotation or the ServiceHandler annotation. |
|
protected boolean |
isEnabled()
Determines if proxying is available, a prerequisite for this feature |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final Set<javax.enterprise.inject.spi.Bean<?>> beans
protected final boolean enabled
protected final Set<Throwable> problems
Method Detail |
---|
protected boolean isEnabled()
protected <X> Class<?> getHandlerClass(javax.enterprise.inject.spi.ProcessAnnotatedType<X> event)
X
- Type being processedevent
- the process annotated type event.
protected <X> void buildBean(javax.enterprise.inject.spi.AnnotatedType<X> annotatedType, javax.enterprise.inject.spi.BeanManager beanManager, Class<?> handlerClass)
X
- class, the class that will be proxying the interfaces.event
- the process annotated type event.beanManager
- the bean manager.handlerClass
- the class of the service handler
RuntimeException
- If the ServiceHandler proxy cannot be created
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |