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
 java.lang.String value
          The name of the corresponding create method of the adapted Home/LocalHome interface.
 

value

public abstract java.lang.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:
""


Submit a bug or feature

Copyright © 2009, 2010, Oracle Corporation and/or its affiliates. All Rights Reserved. Use is subject to license terms.

Generated on 4-June-2010 04:34