Interface MessageDestinationReferenceContainer
-
- All Known Subinterfaces:
EjbDescriptor,EjbMessageBeanDescriptor,EjbSessionDescriptor
- All Known Implementing Classes:
Application,ApplicationClientDescriptor,DummyEjbDescriptor,EjbBundleDescriptor,EjbBundleDescriptorImpl,EjbCMPEntityDescriptor,EjbDescriptor,EjbEntityDescriptor,EjbInterceptor,EjbMessageBeanDescriptor,EjbSessionDescriptor,IASEjbCMPEntityDescriptor,InterceptorDescriptor,JndiEnvironmentRefsGroupDescriptor,ManagedBeanDescriptor,WebBundleDescriptor,WebBundleDescriptorImpl,WebFragmentDescriptor
public interface MessageDestinationReferenceContainerThis type defines the behaviour of a J2EE Component containing message destination references.- Version:
- Author:
- Kennneth Saks
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddMessageDestinationReferenceDescriptor(MessageDestinationReferenceDescriptor msgDestReference)Add a message destination reference to myselfMessageDestinationReferenceDescriptorgetMessageDestinationReferenceByName(String name)Return a message destination reference by the same name or throw an IllegalArgumentException.SetgetMessageDestinationReferenceDescriptors()Return the set of message destination references declared.voidremoveMessageDestinationReferenceDescriptor(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(String name)
Return a message destination reference by the same name or throw an IllegalArgumentException.- Parameters:
the- message destination reference name
-
getMessageDestinationReferenceDescriptors
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.
-
-