Enterprise JavaBeans(TM) 3.1 API 1.0.2.Final-redhat-1

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$
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:
""

Enterprise JavaBeans(TM) 3.1 API 1.0.2.Final-redhat-1

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.