Interface IServiceProvider

All Known Implementing Classes:
ClientSideServiceProvider, PromiseServiceProvider, ServerSideServiceProvider, VertxPromiseServiceProvider

public interface IServiceProvider
Useful to create service instances
  • Method Details

    • instance

      <T> T instance(Class<T> interfaceClass, String... params) throws ServerFault
      Instantiate a service
      Parameters:
      interfaceClass - service interface
      Returns:
      service instance
      Throws:
      ServerFault - service instantiation failed
    • setOrigin

      IServiceProvider setOrigin(String origin)