Module EJB

Import path

semmle.code.java.frameworks.javaee.ejb.EJB

Imports

EJBJarXML
java

Provides all default Java QL imports.

Predicates

getAnInheritedMatchingMethodIgnoreThrows

Gets a method (inherited by ejb) matching the signature sig. (Ignores throws clauses.)

getAnRmiIncompatibleType

Gets an argument or result type of method m that is not compatible for use with RMI.

getInnermostTransactionAttributeAnnotation
inheritsMatchingCreateMethodExceptThrows

If ejb inherits an ejbCreate or @Init method matching create method m except for the throws clause, then return any type in the throws clause that does not match.

inheritsMatchingCreateMethodIgnoreThrows

Holds if ejb inherits an ejbCreate or @Init method matching create method m. (Ignores throws clauses.)

inheritsMatchingMethodExceptThrows

If ejb inherits a method matching the signature of m except for the throws clause, then return any type in the throws clause that does not match.

inheritsMatchingMethodIgnoreThrows

Holds if ejb inherits a method matching the given signature. (Ignores throws clauses.)

isValidRmiType

Holds if type t is valid for use with RMI, i.e. whether it is serializable.

Classes

AccessTimeoutAnnotation
ActivationConfigPropertyAnnotation
AfterBeginAnnotation
AfterCompletionAnnotation
AnnotatedBusinessInterface

A business interface annotated with @Local or @Remote or named within a @Local or @Remote annotation of another type.

AnnotatedLocalHomeInterface

A legacy local home interface specified by means of a @LocalHome annotation.

AnnotatedRemoteHomeInterface

A legacy remote home interface specified by means of a @RemoteHome annotation.

ApplicationExceptionAnnotation
AsynchronousAnnotation
BeforeCompletionAnnotation
BusinessInterface

Common superclass representing all local and remote business interfaces, which can be designated either using annotations or within an XML deployment descriptor (ejb-jar.xml) file.

BusinessInterfaceAnnotation

Common superclass representing a @Remote or @Local annotation used to declare a remote or local business interface.

ConcurrencyManagementAnnotation
DependsOnAnnotation
EJB

Common superclass for various kinds of EJBs.

EJBAnnotation
EJBsAnnotation
EjbAnnotatedInitMethod
EjbCreateMethod
EjbInterfaceAnnotation

Common superclass representing EJB interface annotations with a “value” element.

EjbInterfaceCreateMethod
EntityEJB

An entity EJB (deprecated as of EJB 3.0).

ExtendedLocalHomeInterface

A legacy local home interface that extends javax.ejb.EJBLocalHome.

ExtendedLocalInterface

A legacy local interface that extends javax.ejb.EJBLocalObject.

ExtendedRemoteHomeInterface

A legacy remote home interface that extends javax.ejb.EJBHome.

ExtendedRemoteInterface

A legacy remote interface that extends javax.ejb.EJBObject.

HomeAnnotation

Common superclass for @RemoteHome and @LocalHome annotations.

InitAnnotation
LegacyEjbHomeInterface

Common superclass for legacy EJB remote home and local home interfaces.

LegacyEjbInterface

Common superclass for legacy EJB interfaces (prior to EJB 3.0).

LegacyEjbLocalHomeInterface

A legacy local home interface.

LegacyEjbLocalInterface

A legacy local interface.

LegacyEjbRemoteHomeInterface

A legacy remote home interface.

LegacyEjbRemoteInterface

A legacy remote interface.

LocalAnnotatedBusinessInterface

A local business interface declared using the @Local annotation.

LocalAnnotation

An instance of a @Local annotation.

LocalBeanAnnotation
LocalHomeAnnotation

An instance of a @LocalHome annotation.

LockAnnotation
MessageDrivenAnnotation
MessageDrivenBean

A message-driven EJB.

PostActivateAnnotation
PrePassivateAnnotation
RemoteAnnotatedBusinessInterface

A remote business interface declared using the @Remote annotation.

RemoteAnnotation

An instance of a @Remote annotation.

RemoteHomeAnnotation

An instance of a @RemoteHome annotation.

RemoteInterface

A RemoteInterface is either a remote business interface or a legacy remote interface.

RemoveAnnotation
RequiredTransactionAttributeAnnotation
RequiresNewTransactionAttributeAnnotation
ScheduleAnnotation
SchedulesAnnotation
SessionEJB

A session EJB.

SetRollbackOnlyMethod
SingletonAnnotation
StartupAnnotation
StatefulAnnotation
StatefulSessionEJB

A stateful session EJB.

StatefulTimeoutAnnotation
StatelessAnnotation
StatelessSessionEJB

A stateless session EJB.

TimeoutAnnotation
TransactionAttributeAnnotation
TransactionManagementAnnotation
XmlSpecifiedBusinessInterface

A business interface declared using an XML deployment descriptor (ejb-jar.xml) file.

XmlSpecifiedLocalHomeInterface

A legacy local home interface specified within an XML deployment descriptor.

XmlSpecifiedLocalInterface

A legacy local interface specified within an XML deployment descriptor.

XmlSpecifiedRemoteHomeInterface

A legacy remote home interface specified within an XML deployment descriptor.

XmlSpecifiedRemoteInterface

A legacy remote interface specified within an XML deployment descriptor.