dap4/d4core/src/main/java/dap4/core/data/DSPRegistry.java
synchronized public void
    register(Class<? extends DSP> klass, boolean last)
    {
        // is this already defined?
        if(registered(klass)) return;
        if(last)
            registry.add(new Registration(klass));
        else
            registry.add(0, new Registration(klass));
    }
synchronized public void
    register(Class<? extends DSP> klass, boolean last)
    {
        // is this already defined?
        if(registered(klass)) return;
        if(last)
            registry.add(new Registration(klass));
        else
            registry.add(0, new Registration(klass));
    }
Register a DSP class.

@param klass Class that implements DSP.
@param last  true=>insert at the end of the list; otherwise front
@throws IllegalAccessException if class is not accessible.
@throws InstantiationException if class doesnt have a no-arg constructor.
@throws ClassCastException     if class doesnt implement DSP interface.