|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bankframe.services.route.RouteValidator
This class validates input values for Route implmentations
Constructor Summary | |
RouteValidator()
|
Method Summary | |
static void |
validateJndiName(java.lang.String jndiName)
This method validates the JNDI name, it must be non null and non-empty and no more than fifty characters in length. |
static void |
validateRequestId(java.lang.String requestId)
This method validates the requestId, it must be non null and non-empty and no more that five characters in length. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RouteValidator()
Method Detail |
public static void validateJndiName(java.lang.String jndiName) throws ValidationException
jndiName
- the JNDI name to validate
ValidationException
- if the JNDI name is invalidpublic static void validateRequestId(java.lang.String requestId) throws ValidationException
requestId
- the request Id to validate
ValidationException
- if the string is invalid
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |