Interface MessageDestinationReference
-
- All Superinterfaces:
MessageDestinationReferencer,NamedInformation
- All Known Implementing Classes:
MessageDestinationReferenceDescriptor
public interface MessageDestinationReference extends MessageDestinationReferencer, NamedInformation
Protocol associated with defining an EJB Interface- Author:
- Kenneth Saks
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BundleDescriptorgetReferringBundleDescriptor()Get the referring bundle, i.e.StringgetType()StringgetUsage()voidsetReferringBundleDescriptor(BundleDescriptor referringBundle)Set the referring bundle, i.e.voidsetType(String type)voidsetUsage(String usage)-
Methods inherited from interface com.sun.enterprise.deployment.types.MessageDestinationReferencer
getMessageBeanOwner, getMessageDestination, getMessageDestinationLinkName, getMessageDestinationRefOwner, isLinkedToMessageDestination, ownedByMessageBean, ownedByMessageDestinationRef, resolveLinkName, setMessageDestination, setMessageDestinationLinkName, setMessageDestinationLinkName
-
Methods inherited from interface com.sun.enterprise.deployment.types.NamedInformation
getDescription, getName, setDescription, setName
-
-
-
-
Field Detail
-
CONSUMES
static final String CONSUMES
- See Also:
- Constant Field Values
-
PRODUCES
static final String PRODUCES
- See Also:
- Constant Field Values
-
CONSUMES_AND_PRODUCES
static final String CONSUMES_AND_PRODUCES
- See Also:
- Constant Field Values
-
-
Method Detail
-
getType
String getType()
- Returns:
- the type of the message destination reference
-
setType
void setType(String type)
- Parameters:
type- the type of the message destination reference
-
getUsage
String getUsage()
- Returns:
- the usage type of the message destination reference (Consumes, Produces, ConsumesProduces)
-
setUsage
void setUsage(String usage)
- Parameters:
usage- the usage type of the message destination reference (Consumes, Produces, ConsumesProduces)
-
setReferringBundleDescriptor
void setReferringBundleDescriptor(BundleDescriptor referringBundle)
Set the referring bundle, i.e. the bundle within which this message destination reference is declared.
-
getReferringBundleDescriptor
BundleDescriptor getReferringBundleDescriptor()
Get the referring bundle, i.e. the bundle within which this message destinaion reference is declared.
-
-