javax.ejb
Annotation Type Stateful


@Target(value=TYPE)
@Retention(value=RUNTIME)
public @interface Stateful

Defined the class annotated by Stateful annotation as a stateful bean.

Since:
EJB 3.0 version.
Author:
Florent Benoit
See Also:
EJB 3.1 specification

Optional Element Summary
 String description
          Description of this bean.
 String mappedName
          JNDI name used for the registry.
 String name
          Name of this bean.
 

name

public abstract String name
Name of this bean.

Default:
""

mappedName

public abstract String mappedName
JNDI name used for the registry.

Default:
""

description

public abstract String description
Description of this bean.

Default:
""


Copyright © 2007-2012 OW2 Consortium. All Rights Reserved.