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 anAnnotationProfilepreviously registerd withregisterProfile(AnnotationProfile)voidregisterProfile(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 anAnnotationProfilepreviously registerd withregisterProfile(AnnotationProfile)- Parameters:
name- theAnnotationProfile'sname, which must match the Object's field value- Returns:
- the
AnnotationProfilepreviously registered. If theregisterProfile(AnnotationProfile)call was not successfully executed, or the profile can't be found for other reasons, this will returnnull
-