EJB 3.1 API 1.0.1.Final

javax.ejb
Annotation Type EJB


@Retention(value=RUNTIME)
@Target(value={TYPE,METHOD,FIELD})
public @interface EJB

The EJB annotation denotes a reference to an EJB 3.0 session bean.

Version:
$Revision: 107909 $
Author:
Bill Burke

Optional Element Summary
 Class beanInterface
           
 String beanName
           
 String description
           
 String lookup
          A portable lookup string containing the JNDI name for the target EJB component.
 String mappedName
           
 String name
           
 

name

public abstract String name
Default:
""

beanInterface

public abstract Class beanInterface
Default:
java.lang.Object.class

beanName

public abstract String beanName
Default:
""

lookup

public abstract String lookup
A portable lookup string containing the JNDI name for the target EJB component.

Default:
""

mappedName

public abstract String mappedName
Default:
""

description

public abstract String description
Default:
""

EJB 3.1 API 1.0.1.Final

Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.