com.sun.enterprise.deployment.types
Interface MessageDestinationReferenceContainer

All Known Implementing Classes:
Application, ApplicationClientDescriptor, DummyEjbDescriptor, EjbBundleDescriptor, EjbCMPEntityDescriptor, EjbDescriptor, EjbEntityDescriptor, EjbInterceptor, EjbMessageBeanDescriptor, EjbSessionDescriptor, IASEjbCMPEntityDescriptor, InterceptorDescriptor, JndiEnvironmentRefsGroupDescriptor, ManagedBeanDescriptor, WebBundleDescriptor, WebFragmentDescriptor

public interface MessageDestinationReferenceContainer

This type defines the behaviour of a J2EE Component containing message destination references.

Version:
Author:
Kennneth Saks

Method Summary
 void addMessageDestinationReferenceDescriptor(MessageDestinationReferenceDescriptor msgDestReference)
          Add a message destination reference to myself
 MessageDestinationReferenceDescriptor getMessageDestinationReferenceByName(java.lang.String name)
          Return a message destination reference by the same name or throw an IllegalArgumentException.
 java.util.Set getMessageDestinationReferenceDescriptors()
          Return the set of message destination references declared.
 void removeMessageDestinationReferenceDescriptor(MessageDestinationReferenceDescriptor msgDestRef)
          Removes the specified message destination reference from the receiver.
 

Method Detail

addMessageDestinationReferenceDescriptor

void addMessageDestinationReferenceDescriptor(MessageDestinationReferenceDescriptor msgDestReference)
Add a message destination reference to myself

Parameters:
the - new message destination ref

getMessageDestinationReferenceByName

MessageDestinationReferenceDescriptor getMessageDestinationReferenceByName(java.lang.String name)
Return a message destination reference by the same name or throw an IllegalArgumentException.

Parameters:
the - message destination reference name

getMessageDestinationReferenceDescriptors

java.util.Set getMessageDestinationReferenceDescriptors()
Return the set of message destination references declared.


removeMessageDestinationReferenceDescriptor

void removeMessageDestinationReferenceDescriptor(MessageDestinationReferenceDescriptor msgDestRef)
Removes the specified message destination reference from the receiver.

Parameters:
ref - MessageDestinationReferenceDescriptor to remove.


Copyright © 2012 GlassFish Community. All Rights Reserved.