All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.javapla.jawn.core.Plugin Maven / Gradle / Ivy

The newest version!
package net.javapla.jawn.core;

import com.typesafe.config.Config;

public interface Plugin {
    
    
    void install(Application config);

    
    
    public static interface Application {
        
        Registry/*.ServiceRegistry*/ registry();
        
        Router router();
        
        Config config();
        
        void renderer(MediaType type, Renderer renderer);
        
        void parser(MediaType type, Parser parser);
        
        void onStartup(Runnable task);
        
        void onShutdown(Runnable task);
    }
    
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy