2.4.8 @DependsOn

Organization of this subsection
(1) Description
(2) Attribute

(1) Description

Specify the dependency relation between Singleton Session Beans. Specify this annotation only in the Singleton Session Bean class.

(2) Attribute

The following table lists the @DependsOn attribute:

Attribute NameFunctionality
valueEnumerate the EJB name of the dependent Singleton Session Bean.

Details of each attribute are as follows:

(a) value attribute
Type
String[]
Description
Enumerate the EJB name of the dependent Singleton Session Bean.
Default value
None