Top Deprecated
javax.ejb API 3.2.2

Deprecated API


No API in this release is deprecated for removal.

Deprecated Item Summary

SinceDeprecated Item and Description

Returns:

The Identity object that identifies the caller.
javax.ejb.EJBContext.getCallerIdentity
()

Use Principal getCallerPrincipal() instead.

Returns:

The environment properties for the enterprise bean.
javax.ejb.EJBContext.getEnvironment
()

Use the JNDI naming context java:comp/env to access enterprise bean's environment.

Returns:

True if the caller has the specified role.
javax.ejb.EJBContext.isCallerInRole
(Identity
The java.security.Identity of the role to be tested.
role
)

Use boolean isCallerInRole(String roleName) instead.