Package: javax.ejb.deployment (EJB 1.0 Only)

The javax.ejb.deployment package contains a number of classes used to deploy enterprise beans in a container. These classes provide mechanisms to tell the container about the bean’s properties, define new properties at runtime, and define the relationship between the bean and its container.

This package has disappeared entirely from EJB 1.1, including all of its classes.

AccessControlEntry

A serialized object of this class is used to specify the security identities that are allowed to access the bean’s methods. It may specify default access for the entire bean or access specific to one method.

public class javax.ejb.deployment.AccessControlEntry 
    extends java.lang.Object
    implements java.io.Serializable
{
    public AccessControlEntry();
    public AccessControlEntry(Method method);
    public AccessControlEntry(Method method, Identity identities[]);
    public Identity[] getAllowedIdentities();
    public Identity getAllowedIdentities(int index);
    public Method getMethod();
    public void setAllowedIdentities(Identity values[]);
    public void setAllowedIdentities(int index, Identity value);
    public void setMethod(Method value);
}

ControlDescriptor

A serialized object of this class is used to specify transactional and runAs attributes associated with the bean’s methods. It may specify default attributes for the entire bean or attributes specific to one method.

public class javax.ejb.deployment.ControlDescriptor extends java.lang.Object implements java.io.Serializable ...

Get Enterprise JavaBeans, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.