com.sun.enterprise.deployment.types
Interface ResourceEnvReferenceContainer

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

public interface ResourceEnvReferenceContainer

This type defines the behaviour of a J2EE Component containing resources env references.

Version:
Author:
Jeome Dochez

Method Summary
 void addJmsDestinationReferenceDescriptor(JmsDestinationReferenceDescriptor jmsDestReference)
          Add a JMS destination reference to myself
 JmsDestinationReferenceDescriptor getJmsDestinationReferenceByName(java.lang.String name)
          Return a JMS destination reference by the same name or throw an IllegalArgumentException.
 java.util.Set getJmsDestinationReferenceDescriptors()
          Return the set of JMS destination references this ejb declares.
 

Method Detail

addJmsDestinationReferenceDescriptor

void addJmsDestinationReferenceDescriptor(JmsDestinationReferenceDescriptor jmsDestReference)
Add a JMS destination reference to myself

Parameters:
the - new JMS destination ref

getJmsDestinationReferenceByName

JmsDestinationReferenceDescriptor getJmsDestinationReferenceByName(java.lang.String name)
Return a JMS destination reference by the same name or throw an IllegalArgumentException.

Parameters:
the - resource env reference name

getJmsDestinationReferenceDescriptors

java.util.Set getJmsDestinationReferenceDescriptors()
Return the set of JMS destination references this ejb declares.



Copyright © 2012 GlassFish Community. All Rights Reserved.