Interface ServicesBroker

All Known Subinterfaces:
Connection

public interface ServicesBroker
Interface for a class that brokers services.
Example:
     ServicesBroker servicesBroker = SpecialistBroker.requireSpecialist(ServicesBroker.TYPE);
     MyService myService = servicesBroker.getService(MyService.class);
  
Since:
4.2.34
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    An agent providing means to broker services of a specific type.
  • Method Summary

    Modifier and Type
    Method
    Description
    <T> T
    getService(Class<T> serviceClass)
    Returns a service instance as requested by a given class.