javax.ejb
Annotation Type Init


@Target(value=METHOD)
@Retention(value=RUNTIME)
public @interface Init

A method of a session bean with this annotation will be used as a create method (for adapter EJB 2.1 view).

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

Optional Element Summary
 java.lang.String value
          Specify the create method if there are many methods.
 

value

public abstract java.lang.String value
Specify the create method if there are many methods.

Default:
""


Copyright © 2008. All Rights Reserved.