class WPSStreamingServerHandler {

    public void close()
    {
        if (myServer != null)
        {
            ServerProvider<StreamingServer> provider = myProviderRegistry.getProvider(StreamingServer.class);

            if (provider instanceof ModifiableServerProvider)
            {
                ((ModifiableServerProvider<StreamingServer>)provider).removeServer(myServer);
            }
        }
    }

    public  WPSStreamingServerHandler(WPSCapabilitiesType capabilities, ServerProviderRegistry providerRegistry,
            ComponentsFactory factory);

}