Class LiveConnectAdviceManager


  • public final class LiveConnectAdviceManager
    extends Object
    • Method Detail

      • getDefault

        public static LiveConnectAdviceManager getDefault()
        Returns the default instance. The default instance is initialized via service lookup of the LiveConnectAdvice.
        Returns:
        the default instance
      • getAdviceForClass

        public LiveConnectAdvice getAdviceForClass​(Class<?> clazz)
        Returns the advice associated with the given class.
        Parameters:
        clazz - the class to lookup
        Returns:
        the advice associated with the given class.
      • withAdvice

        public LiveConnectAdviceManager withAdvice​(LiveConnectAdvice advice)
        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