Top Description Methods
javax.enterprise.inject.spi

public Interface ProcessSessionBean<X>

extends ProcessManagedBean<Object>

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

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

Note that the type parameter of the super-interface of ProcessSessionBean is Object as ProcessBean allows you access to the Bean, which in turn allows you to instantiate an instance, which, for interface-view EJBs will not be an instance of X.

Author
David Allen

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

the name of the EJB
getEjbName
()

Returns the EJB name of the session bean.

public SessionBeanType
Inherited from javax.enterprise.inject.spi.ProcessManagedBean:
getAnnotatedBeanClass

Method Detail

getEjbNameback to summary
public String getEjbName()

Returns the EJB name of the session bean.

Returns:String

the name of the EJB

Exceptions
IllegalStateException:
if called outside of the observer method invocation
getSessionBeanTypeback to summary
public SessionBeanType getSessionBeanType()

Returns a javax.enterprise.inject.spi.SessionBeanType representing the kind of session bean.

Returns:SessionBeanType

the javax.enterprise.inject.spi.SessionBeanType

Exceptions
IllegalStateException:
if called outside of the observer method invocation