-
@Target(TYPE) @Retention(RUNTIME) public @interface SingletonComponent-defining annotation for a singleton session bean.- Since:
- EJB 3.1
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.StringdescriptionA string describing the singleton session bean.java.lang.StringmappedNameA product specific name(for example, global JNDI name) that this session bean should be mapped to.java.lang.StringnameThe ejb-name for this bean.
-
-
-
-
mappedName
java.lang.String mappedName
A product specific name(for example, global JNDI name) that this session bean should be mapped to. Application servers are not required to support any particular form or type of mapped name, nor the ability to use mapped names. The mapped name is product-dependent and often installation-dependent. No use of a mapped name is portable.- Returns:
- a
Stringobject.
- Default:
- ""
-
-