Package org.distributeme.core.routing
Class PropertyBasedRegistrationNameProvider
java.lang.Object
org.distributeme.core.routing.PropertyBasedRegistrationNameProvider
- All Implemented Interfaces:
RegistrationNameProvider
public class PropertyBasedRegistrationNameProvider
extends Object
implements RegistrationNameProvider
This registration name provider is based on a submitted property to the start.
- Version:
- $Id: $Id
- Author:
- lrosenberg
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidCalled shortly after the initialization to customize this registration name provider according to the parameter in the annotation.getRegistrationName(String serviceId) Returns the registration name for this service instance.toString()
-
Constructor Details
-
PropertyBasedRegistrationNameProvider
public PropertyBasedRegistrationNameProvider()
-
-
Method Details
-
getRegistrationName
Returns the registration name for this service instance.- Specified by:
getRegistrationNamein interfaceRegistrationNameProvider- Parameters:
serviceId- aStringobject.- Returns:
- a
Stringobject.
-
customize
Called shortly after the initialization to customize this registration name provider according to the parameter in the annotation.- Specified by:
customizein interfaceRegistrationNameProvider- Parameters:
parameter- aStringobject.
-
toString
-