java.lang.Object
com.pervasive.datarush.coercion.LiveConnectAdviceManager
-
Method Summary
Modifier and TypeMethodDescriptiongetAdviceForClass(Class<?> clazz) Returns the advice associated with the given class.Returns all registered advice.static LiveConnectAdviceManagerReturns the default instance.withAdvice(LiveConnectAdvice advice) Returns a new manager, equivalent to this, but with the additional live connect advice.
-
Method Details
-
getDefault
Returns the default instance. The default instance is initialized via service lookup of theLiveConnectAdvice.- Returns:
- the default instance
-
getAdviceForClass
Returns the advice associated with the given class.- Parameters:
clazz- the class to lookup- Returns:
- the advice associated with the given class.
-
getAllAdvice
Returns all registered advice.- Returns:
- all registered advice
-
withAdvice
Returns a new manager, equivalent to this, but with the additional live connect advice.- Parameters:
advice- the additional live connect advice- Returns:
- a new manager
-