Java EE 5 SDK

javax.ejb
Annotation Type Init


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

Designates a method of a session bean that corresponds to the create method of an adapted Home interface or an adapted Local Home interface.


Optional Element Summary
 String value
          The name of the corresponding create method of the adapted Home/LocalHome interface.
 

value

public abstract String value
The name of the corresponding create method of the adapted Home/LocalHome interface. This value is used to disambiguate the case where there are multiple create methods on an adapted Home/LocalHome interface with the same signature as the annotated @Init method. If no value is specified, the create matching is based on signature only.

Default:
""

Java EE 5 SDK

Submit a bug or feature

Copyright 2006 Sun Microsystems, Inc. All rights reserved.