Constructor and Description |
---|
ParameterBasedModRouter() |
Modifier and Type | Method and Description |
---|---|
void |
customize(String parameter)
Called shortly after the initialization to customize this router according to the parameter in the annotation.
|
int |
getMod() |
protected long |
getModableValue(Object o)
Returns parameter value converted to Long actually.
|
int |
getParameterPosition() |
String |
getServiceIdForCall(ClientSideCallContext callContext)
Returns the serviceId for this particular call to route to.
|
public String getServiceIdForCall(ClientSideCallContext callContext)
Router
getServiceIdForCall
in interface Router
callContext
- context of the call with all call related data.protected long getModableValue(Object o)
o
- object to convertpublic void customize(String parameter)
Router
public int getMod()
public int getParameterPosition()
Copyright © 2010-2014 anotheria.net. All Rights Reserved.