CodeQL library for Java/Kotlin
codeql/java-all 0.8.11-dev (changelog, source)
Search

Module EJB

Provides classes and predicates for working with Enterprise Java Beans.

Import path

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

Imports

EJBJarXML

Provides classes and predicates for working with EJB deployment descriptor XML files (ejb-jar.xml).

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

Gets the innermost @javax.ejb.TransactionAttribute annotation for method m.

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

A @javax.ejb.AccessTimeout annotation.

ActivationConfigPropertyAnnotation

A @javax.ejb.ActivationConfigProperty annotation.

AfterBeginAnnotation

A @javax.ejb.AfterBegin annotation.

AfterCompletionAnnotation

A @javax.ejb.AfterCompletion annotation.

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

A @javax.ejb.ApplicationException annotation.

AsynchronousAnnotation

A @javax.ejb.Asynchronous annotation.

BeforeCompletionAnnotation

A @javax.ejb.BeforeCompletion annotation.

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

A @javax.ejb.ConcurrencyManagement annotation.

DependsOnAnnotation

A @javax.ejb.DependsOn annotation.

EJB

Common superclass for various kinds of EJBs.

EJBsAnnotation

A @javax.ejb.EJBs annotation.

EjbAnnotatedInitMethod

A method annotated with a @javax.ejb.Init annotation that is declared in or inherited by a session EJB.

EjbAnnotation

A @javax.ejb.EJB annotation.

EjbCreateMethod

A method whose name starts with ejbCreate that is declared in or inherited by a session EJB.

EjbInterfaceAnnotation

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

EjbInterfaceCreateMethod

A method whose name starts with create that is declared in or inherited by a legacy EJB home interface.

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

A @javax.ejb.Init annotation.

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

A @javax.ejb.LocalBean annotation.

LocalHomeAnnotation

An instance of a @LocalHome annotation.

LockAnnotation

A @javax.ejb.Lock annotation.

MessageDrivenAnnotation

A @javax.ejb.MessageDriven annotation.

MessageDrivenBean

A message-driven EJB.

PostActivateAnnotation

A @javax.ejb.PostActivate annotation.

PrePassivateAnnotation

A @javax.ejb.PrePassivate annotation.

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

A @javax.ejb.Remove annotation.

RequiredTransactionAttributeAnnotation

A @javax.ejb.TransactionAttribute annotation with the transaction attribute type set to REQUIRED.

RequiresNewTransactionAttributeAnnotation

A @javax.ejb.TransactionAttribute annotation with the transaction attribute type set to REQUIRES_NEW.

ScheduleAnnotation

A @javax.ejb.Schedule annotation.

SchedulesAnnotation

A @javax.ejb.Schedules annotation.

SessionEjb

A session EJB.

SetRollbackOnlyMethod

A method named setRollbackOnly declared on the interface javax.ejb.EJBContext or a subtype thereof.

SingletonAnnotation

A @javax.ejb.Singleton annotation.

StartupAnnotation

A @javax.ejb.Startup annotation.

StatefulAnnotation

A @javax.ejb.Stateful annotation.

StatefulSessionEjb

A stateful session EJB.

StatefulTimeoutAnnotation

A @javax.ejb.StatefulTimeout annotation.

StatelessAnnotation

A @javax.ejb.Stateless annotation.

StatelessSessionEjb

A stateless session EJB.

TimeoutAnnotation

A @javax.ejb.Timeout annotation.

TransactionAttributeAnnotation

A @javax.ejb.TransactionAttribute annotation.

TransactionManagementAnnotation

A @javax.ejb.TransactionManagement annotation.

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.