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

Type Parameters:
X -
All Superinterfaces:
ProcessBean<java.lang.Object>, ProcessManagedBean<java.lang.Object>

public interface ProcessSessionBean<X>
extends ProcessManagedBean<java.lang.Object>

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

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

Author:
David Allen

Method Summary
 java.lang.String getEjbName()
          Returns the EJB name of the session bean.
 SessionBeanType getSessionBeanType()
          Returns a SessionBeanType representing the kind of session bean.
 
Methods inherited from interface javax.enterprise.inject.spi.ProcessManagedBean
getAnnotatedBeanClass
 
Methods inherited from interface javax.enterprise.inject.spi.ProcessBean
addDefinitionError, getAnnotated, getBean
 

Method Detail

getEjbName

java.lang.String getEjbName()
Returns the EJB name of the session bean.

Returns:
the name of the EJB

getSessionBeanType

SessionBeanType getSessionBeanType()
Returns a SessionBeanType representing the kind of session bean.

Returns:
the SessionBeanType


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