Interface RootHub.ServiceProvider

  • All Superinterfaces:
    Lookup.Provider, Root
    All Known Implementing Classes:
    ScriptServiceImpl
    Enclosing interface:
    RootHub

    public static interface RootHub.ServiceProvider
    extends Root
    An interface for RootHub extensions (see RootHub.ExtensionProvider) to advertise the services they provide. Use of Component.getInfo() for this purpose should be considered deprecated. The Root itself must provide the advertised services. Support for root containers to provide services via child components is not yet supported.
    See Also:
    Service
    • Method Detail

      • services

        List<Class<? extends Service>> services()
        A list of the services this extension provides. This method will be called as the extension Root is installed in the RootHub.
        Returns:
        list of services