com.sun.enterprise.deployment.types
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

Field Summary
static java.lang.String CONSUMES
           
static java.lang.String CONSUMES_AND_PRODUCES
           
static java.lang.String PRODUCES
           
 
Method Summary
 BundleDescriptor getReferringBundleDescriptor()
          Get the referring bundle, i.e.
 java.lang.String getType()
           
 java.lang.String getUsage()
           
 void setReferringBundleDescriptor(BundleDescriptor referringBundle)
          Set the referring bundle, i.e.
 void setType(java.lang.String type)
           
 void setUsage(java.lang.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 java.lang.String CONSUMES
See Also:
Constant Field Values

PRODUCES

static final java.lang.String PRODUCES
See Also:
Constant Field Values

CONSUMES_AND_PRODUCES

static final java.lang.String CONSUMES_AND_PRODUCES
See Also:
Constant Field Values
Method Detail

getType

java.lang.String getType()
Returns:
the type of the message destination reference

setType

void setType(java.lang.String type)
Parameters:
type - the type of the message destination reference

getUsage

java.lang.String getUsage()
Returns:
the usage type of the message destination reference (Consumes, Produces, ConsumesProduces)

setUsage

void setUsage(java.lang.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.



Copyright © 2012 GlassFish Community. All Rights Reserved.