Methods Summary |
---|
public javax.ejb.ActivationConfigProperty[] | activationConfig()
ActivationConfigProperty[] properties = new ActivationConfigProperty[activationConfigProperties.size()];
activationConfigProperties.values().toArray(properties);
return properties;
|
public java.lang.Class | annotationType()
return javax.ejb.MessageDriven.class;
|
public java.lang.String | description() return desc;
|
public java.lang.String | mappedName() return mn;
|
public void | merge(javax.ejb.MessageDriven annotation)
if (name.length() == 0)
name = annotation.name();
if (mn.length() == 0)
mn = annotation.mappedName();
if (desc.length() == 0)
desc = annotation.description();
Class messageListenerInterface = annotation.messageListenerInterface();
if (messageListenerInterface != null && !messageListenerInterface.getName().equals(Object.class.getName()))
listenerInterface = annotation.messageListenerInterface();
for (ActivationConfigProperty property : annotation.activationConfig())
{
if (!activationConfigProperties.containsKey(property.propertyName()))
{
activationConfigProperties.put(property.propertyName(), property);
}
}
|
public java.lang.Class | messageListenerInterface() return listenerInterface;
|
public java.lang.String | name()
return name;
|
public void | setDescription(java.lang.String desc) this.desc = desc;
|
public void | setMappedName(java.lang.String mn) this.mn = mn;
|
public void | setMessageListenerInterface(java.lang.Class clazz) this.listenerInterface = clazz;
|