info.magnolia.module.blossom.annotation
Annotation Type InitSaveHandler


@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface InitSaveHandler

Declares a method as being responsible for providing a SaveHandler that will be used to save the dialog. The method must return a SaveHandler and cannot have any arguments. It should not throw a checked exception. If defined in a super class the method will be detected and used.

For example:

 @InitSaveHandler
 public SaveHandler initSaveHandler() { ... }
 

Since:
1.2
See Also:
SaveHandler



Copyright © 2009-2012 Magnolia International Ltd.. All Rights Reserved.