uCosminexus Application Server, API Reference Guide

[Contents][Index][Back][Next]

2.4.23 @Singleton

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

(1) Description

Specify this annotation in the Singleton Session Bean class.

(2) Attribute

The following table lists the @Singleton properties:

Attribute name Functionality
name Specify the name of Singleton Session Bean.
mappedName Specify the optional name of Singleton Session Bean.
description Specify the description of Singleton Session Bean.

Details of each attribute are as follows:

(a) name attribute

Type
String

Description
Specify the name of Singleton Session Bean.

Default value
Class name (excluding the package name) of Singleton Session Bean.
(b) mappedName attribute

Type
String

Description
Specify the optional name of Singleton Session Bean.

Default value
""
(c) description attribute

Type
String

Description
Specify the description of Singleton Session Bean.

Default value
""