com.neeve.server.app.annotations
Annotation Type AppHAPolicy


@Retention(value=RUNTIME)
@Target(value=TYPE)
public @interface AppHAPolicy

Annotates the main application class to specifies it's AepEngine.HAPolicy.

A clustered Talon application must specify the AepEngine.HAPolicy. Annotating an application's main class will cause the talon server to configure the application's AepEngineDescriptor.setHAPolicy(com.neeve.aep.AepEngine.HAPolicy) with this value, just before injecting the AepEngineDescriptor via an AppInjectionPoint annotated method. Thus, if an application programmatically sets the AepEngine.HAPolicy in the AepEngineDescriptor via an AppInjectionPoint the programmatically set value will take precedence.


Required Element Summary
 AepEngine.HAPolicy value
           
 

Element Detail

value

public abstract AepEngine.HAPolicy value
Returns:
The AepEngine.HAPolicy for the application.


Copyright © 2016 Neeve Research, LLC. All Rights Reserved.