Interface RoutingAware


public interface RoutingAware
This interface is offering support for custom services. By implementing this interface your service will a) mark himself as knowing about routing. b) allow DistributeMe to submit some routing/sharding relevant information. IMPORTANT: This only works with class-level routers.
Since:
23.09.15 22:52
Version:
$Id: $Id
Author:
lrosenberg
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    notifyServiceId(String definedServiceId, String registeredAsServiceId, String routerParameter, String routerConfigurationName)
    Called when the service id of the service instance is determined and the service is registered..
  • Method Details

    • notifyServiceId

      void notifyServiceId(String definedServiceId, String registeredAsServiceId, String routerParameter, String routerConfigurationName)
      Called when the service id of the service instance is determined and the service is registered..
      Parameters:
      definedServiceId - a String object.
      registeredAsServiceId - a String object.
      routerParameter - value of the @Route annotation parameter.
      routerConfigurationName - value of the router configuration name parameter. Allows you to actively watch the same config.