Interface ServiceBuilder

  • All Implemented Interfaces:

    
    public interface ServiceBuilder<S extends Object>
    
                        

    Definition of a Service Builder

    Since:

    2.0

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract ServiceBuilder<S> withConnectionBuilder(ConnectionBuilder connectionBuilder) Sets the ready configured ConnectionBuilder that creates the communication objects.
      abstract S buildService() Creates a new service instance
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • withConnectionBuilder

         abstract ServiceBuilder<S> withConnectionBuilder(ConnectionBuilder connectionBuilder)

        Sets the ready configured ConnectionBuilder that creates the communication objects.

        Parameters:
        connectionBuilder - Required connection builder
        Returns:

        this reference

        Since:

        2.0

      • buildService

         abstract S buildService()

        Creates a new service instance

        Returns:

        Service instance

        Since:

        2.0