javax.ejb

Interface LocalHome

public interface LocalHome

The RemoteHome annotation for remote interfaces.

Method Summary

Class<T>
value()

Method Details

value

public Class<T> value()
Usages and Demos :

View More Examples of value()
   1: 
   2:     LocalHome localHomeAnn = ejbClass.getAnnotation(LocalHome.class);
   3: 
   4:         ...
   5:     if (localHomeAnn != null) {
   6:       Class localHome = localHomeAnn.value();
   7:         ...
   8:       setLocalHome(localHome);
   9:     }
  10:         ...
  11:     if (remoteHomeAnn != null) {
  12:       Class home = remoteHomeAnn.value();

View Full Code Here