Top Description Methods
javax.ejb

public @Interface LocalHome

extends Annotation
Annotations
@Target:TYPE
@Retention:RUNTIME
Imports
java.lang.annotation.RetentionPolicy, .ElementType, .Target, .Retention

Declares the local home or adapted local home interface for a session bean.

Clients written to the EJB 2.1 and earlier client view depend upon the existence of a home and component interface. A session bean written to the EJB 3.x API may be adapted to such earlier preexisting client view interfaces.

The session bean designates the local home interface to be adapted by using the LocalHome annotation on the bean class. The corresponding local component interface need not be explicitly specified, as it is derived from the return type of local home interface's create method signature.

Session beans written to the EJB 3.0 and later APIs do not otherwise make use of local home interfaces.

Since
EJB 3.0
See Also
Init, RemoteHome

Method Summary

Modifier and TypeMethod and Description
public Class<T>
value()

The local home interface.

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

valueback to summary
public Class<T> value()

The local home interface.