Class LiveConnectAdviceManager

java.lang.Object
com.pervasive.datarush.coercion.LiveConnectAdviceManager

public final class LiveConnectAdviceManager extends Object
  • Method Details

    • 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.
    • getAllAdvice

      public Collection<LiveConnectAdvice> getAllAdvice()
      Returns all registered advice.
      Returns:
      all registered advice
    • 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