/** * Called when a child element with simple content is read for DD. */ public void setValue(MessageDrivenDestination destination, UnmarshallingContext navigator, String namespaceURI, String localName, String value) { if (localName.equals("destination-type")) { destination.setDestinationType(getValue(localName, value)); } else if (localName.equals("subscription-durability")) { destination.setSubscriptionDurability(getValue(localName, value)); } }
if (destination == null) destination = new MessageDrivenDestination(); ejb.setMessageDrivenDestination(destination); destination.setDestinationType(getValue(localName, value));
public Object newChild(MessageDrivenBean parent, UnmarshallingContext navigator, String namespaceURI, String localName, Attributes attrs) { Object child = newEjbChild(parent, localName); if (child != null) return child; child = newEjbHasInterceptorsChild(parent, localName); if (child != null) return child; if (localName.equals("message-driven-destination")) { child = new MessageDrivenDestination(); } else if (localName.equals("activation-config")) { child = new ActivationConfig(); } return child; }
if (destination == null) destination = new MessageDrivenDestination(); ejb.setMessageDrivenDestination(destination); destination.setDestinationType(getValue(localName, value));
public Object newChild(MessageDrivenBean parent, UnmarshallingContext navigator, String namespaceURI, String localName, Attributes attrs) { Object child = newEjbChild(parent, localName); if (child != null) return child; child = newEjbHasInterceptorsChild(parent, localName); if (child != null) return child; if (localName.equals("message-driven-destination")) { child = new MessageDrivenDestination(); } else if (localName.equals("activation-config")) { child = new ActivationConfig(); } return child; }
/** * Called when a child element with simple content is read for DD. */ public void setValue(MessageDrivenDestination destination, UnmarshallingContext navigator, String namespaceURI, String localName, String value) { if (localName.equals("destination-type")) { destination.setDestinationType(getValue(localName, value)); } else if (localName.equals("subscription-durability")) { destination.setSubscriptionDurability(getValue(localName, value)); } }