javax.ejb

Interface Remote

public interface Remote

The Remote 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: package com.caucho.remote.server;
   3: 
   4:         ...
   5: import com.caucho.config.*;
   6: import com.caucho.remote.*;
   7: 
   8:         ...
   9:   {
  10:     Remote remote = (Remote) serviceClass.getAnnotation(Remote.class);
  11: 
  12:         ...
  13:     if (remote != null)
  14:       return remote.value()[0];

View Full Code Here
   1: import javax.ejb.EJBLocalHome;
   2: import javax.ejb.Remote;
   3: import javax.ejb.Local;
   4:         ...
   5: 
   6:         Remote remoteBusAnn = (Remote) ejbClass.getAnnotation(Remote.class); 
   7:         boolean emptyRemoteBusAnn = false;
   8:         ...
   9:         if( remoteBusAnn != null ) {
  10:             for(Class next : remoteBusAnn.value()) {
  11:                 remoteIntfNames.add(next.getName());
  12:         ...
  13:         if( localBusAnn != null ) {
  14:             for(Class next : localBusAnn.value()) {

View Full Code Here