Package com.levigo.jadice.annotation
Interface TypeRegisterer
public interface TypeRegisterer
Adds server-side Annotation functions that are mandatory for properly working with annotations
-
Method Summary
Modifier and TypeMethodDescriptiongetAnnotationProfile
(String name) Retrieve anAnnotationProfile
previously registerd withregisterProfile(AnnotationProfile)
void
registerProfile
(AnnotationProfile profile) Register a profile server-wide.
-
Method Details
-
registerProfile
Register a profile server-wide.- Parameters:
profile
- anAnnotationProfile
, usually an Object generated from loading an xml profile file
-
getAnnotationProfile
Retrieve anAnnotationProfile
previously registerd withregisterProfile(AnnotationProfile)
- Parameters:
name
- theAnnotationProfile's
name, which must match the Object's field value- Returns:
- the
AnnotationProfile
previously registered. If theregisterProfile(AnnotationProfile)
call was not successfully executed, or the profile can't be found for other reasons, this will returnnull
-