messageDestinationRefName.setStringValue( resourceName );
messageDestinationRef.setMessageDestinationRefName( messageDestinationRefName );
if ( !resourceType.equals("") ) {
// message-destination-ref-type
MessageDestinationTypeType msgDestType = MessageDestinationTypeType.Factory.newInstance();
msgDestType.setStringValue( resourceType );
messageDestinationRef.setMessageDestinationType( msgDestType );
}
else if ( !injectionJavaType.equals("") ) {
// injectionTarget
InjectionTargetType injectionTarget = InjectionTargetType.Factory.newInstance();