javax.enterprise.inject.spi
Interface ProcessManagedBean<X>

Type Parameters:
X - The class of the bean
All Superinterfaces:
ProcessBean<X>
All Known Subinterfaces:
ProcessSessionBean<X>

public interface ProcessManagedBean<X>
extends ProcessBean<X>

The container fires an event of this type for each enabled managed bean, before registering the Bean object.

If any observer method of a ProcessManagedBean event throws an exception, the exception is treated as a definition error by the container.

Author:
David Allen

Method Summary
 AnnotatedType<X> getAnnotatedBeanClass()
          Returns the AnnotatedType representing the bean class.
 
Methods inherited from interface javax.enterprise.inject.spi.ProcessBean
addDefinitionError, getAnnotated, getBean
 

Method Detail

getAnnotatedBeanClass

AnnotatedType<X> getAnnotatedBeanClass()
Returns the AnnotatedType representing the bean class.

Returns:
the AnnotatedType for the bean being registered


Submit a bug or feature

Copyright © 2009-2011, Oracle Corporation and/or its affiliates. All Rights Reserved. Use is subject to license terms.

Generated on 10-February-2011 12:41