Class DefaultBehaviorProvider<T>

    • Constructor Detail

      • DefaultBehaviorProvider

        protected DefaultBehaviorProvider()
        Creates a new default behavior provider.
    • Method Detail

      • accept

        public abstract <R,​P> R accept​(DefaultBehaviorProviderVisitor<T,​R,​P> v,
                                             P p)
        Apply a visitor to this default behavior provider.
        Type Parameters:
        R - The return type of the visitor's methods.
        P - The type of the additional parameters to the visitor's methods.
        Parameters:
        v - The default behavior visitor.
        p - Optional additional visitor parameter.
        Returns:
        Returns a result as specified by the visitor.
      • initialize

        protected void initialize()
                           throws Exception
        Performs any run-time initialization required by this default behavior provider. This may include resolving managed object paths and property names.

        The default implementation is to do nothing.

        Throws:
        Exception - If this default behavior provider could not be initialized.