javax.ejb

Interface MessageDriven

public interface MessageDriven

The RemoteHome annotation for remote interfaces.

Method Summary

ActivationConfigProperty[]
activationConfig()
String
description()
String
mappedName()
Class<T>
messageListenerInterface()
String
name()

Method Details

activationConfig

public ActivationConfigProperty[] activationConfig()

description

public String description()
            throws ""

mappedName

public String mappedName()
            throws ""

messageListenerInterface

public Class<T> messageListenerInterface()
            throws java.lang.Object.class
Usages and Demos :

View More Examples of messageListenerInterface()
   1: import javax.ejb.ActivationConfigProperty;
   2: import javax.ejb.MessageDriven;
   3: import javax.ejb.TransactionManagement;
   4:         ...
   5: 
   6:     MessageDriven messageDriven
   7:       = (MessageDriven) getEJBClass().getAnnotation(MessageDriven.class);
   8:         ...
   9: 
  10:       Class type = messageDriven.messageListenerInterface();
  11:       if (type != null && ! Object.class.equals(type))
  12:         ...
  13:       Class messageListenerInterface
  14:         = messageDriven.messageListenerInterface();

View Full Code Here

name

public String name()
            throws ""
Usages and Demos :

View More Examples of name()
   1: 
   2: import javax.ejb.MessageDriven;
   3: import javax.ejb.ActivationConfigProperty;
   4:         ...
   5:     public Class<? extends Annotation> getAnnotationType() {
   6:         return MessageDriven.class;
   7:     }    
   8:         ...
   9:     protected String getAnnotatedName(Annotation annotation) {
  10:         MessageDriven mdAn = (MessageDriven)annotation;
  11:         ...
  12:         return mdAn.name();

View Full Code Here