Interface ResourceReferenceContainer
-
- All Known Subinterfaces:
EjbDescriptor,EjbMessageBeanDescriptor,EjbSessionDescriptor
- All Known Implementing Classes:
Application,ApplicationClientDescriptor,DummyEjbDescriptor,EjbBundleDescriptor,EjbBundleDescriptorImpl,EjbCMPEntityDescriptor,EjbDescriptor,EjbEntityDescriptor,EjbInterceptor,EjbMessageBeanDescriptor,EjbSessionDescriptor,IASEjbCMPEntityDescriptor,InterceptorDescriptor,JndiEnvironmentRefsGroupDescriptor,ManagedBeanDescriptor,WebBundleDescriptor,WebBundleDescriptorImpl,WebFragmentDescriptor
public interface ResourceReferenceContainerThis class defines the behaviour of a descriptor containing resource references- Version:
- Author:
- Jerome Dochez
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddResourceReferenceDescriptor(ResourceReferenceDescriptor ejbReference)Add a resource reference to the J2EEE componentResourceReferenceDescriptorgetResourceReferenceByName(String name)Looks up a reference to a resource by its name (getName()).SetgetResourceReferenceDescriptors()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(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
Set getResourceReferenceDescriptors()
Return the set of references to resources that I have.
-
-