com.sun.enterprise.deployment.types
Interface ResourceReferenceContainer

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

public interface ResourceReferenceContainer

This class defines the behaviour of a descriptor containing resource references

Version:
Author:
Jerome Dochez

Method Summary
 void addResourceReferenceDescriptor(ResourceReferenceDescriptor ejbReference)
          Add a resource reference to the J2EEE component
 ResourceReferenceDescriptor getResourceReferenceByName(java.lang.String name)
          Looks up a reference to a resource by its name (getName()).
 java.util.Set getResourceReferenceDescriptors()
          Return the set of references to resources that I have.
 

Method Detail

addResourceReferenceDescriptor

void addResourceReferenceDescriptor(ResourceReferenceDescriptor ejbReference)
Add a resource reference to the J2EEE component

Parameters:
the - reference descriptor to add

getResourceReferenceByName

ResourceReferenceDescriptor getResourceReferenceByName(java.lang.String name)
Looks up a reference to a resource by its name (getName()). Throws an IllegalArgumentException if no such descriptor is found.

Parameters:
the - name of the resource reference

getResourceReferenceDescriptors

java.util.Set getResourceReferenceDescriptors()
Return the set of references to resources that I have.



Copyright © 2012 GlassFish Community. All Rights Reserved.