FileDocCategorySizeDatePackage
MessageDestinationReference.javaAPI DocGlassfish v2 API3621Fri May 04 22:31:54 BST 2007com.sun.enterprise.deployment.types

MessageDestinationReference

public interface MessageDestinationReference implements MessageDestinationReferencer, NamedInformation
Protocol associated with defining an EJB Interface
author
Kenneth Saks

Fields Summary
public static String
CONSUMES
public static String
PRODUCES
public static String
CONSUMES_AND_PRODUCES
Constructors Summary
Methods Summary
public com.sun.enterprise.deployment.BundleDescriptorgetReferringBundleDescriptor()
Get the referring bundle, i.e. the bundle within which this message destinaion reference is declared.

public java.lang.StringgetType()

return
the type of the message destination reference

public java.lang.StringgetUsage()

return
the usage type of the message destination reference (Consumes, Produces, ConsumesProduces)

public voidsetReferringBundleDescriptor(com.sun.enterprise.deployment.BundleDescriptor referringBundle)
Set the referring bundle, i.e. the bundle within which this message destination reference is declared.

public voidsetType(java.lang.String type)

param
type the type of the message destination reference

public voidsetUsage(java.lang.String usage)

param
usage the usage type of the message destination reference (Consumes, Produces, ConsumesProduces)