01: package com.bm.ejb3metadata.annotations.metadata.interfaces;
02:
03: import com.bm.ejb3metadata.annotations.impl.JAnnotationResource;
04:
05: /**
06: * This interface represents methods which can be call on
07: * ClassAnnotationMetadata, MethodAnnotationMetadata and FieldAnnotationMetadata.<br>
08: * It manages @{@link javax.annotation.Resource} annotation.
09: * @author Daniel Wiese
10: */
11: public interface IAnnotationResource {
12:
13: /**
14: * @return JAnnotationResource object representing javax.annotation.Resource annotation.
15: */
16: JAnnotationResource getJAnnotationResource();
17:
18: /**
19: * Set JAnnotationResource object.
20: * @param jAnnotationResource object representing javax.annotation.Resource annotation.
21: */
22: void setJAnnotationResource(JAnnotationResource jAnnotationResource);
23:
24: }
|