com.bankframe.services.route
Class RouteValidator
java.lang.Object
com.bankframe.services.route.RouteValidator
public class RouteValidator
- extends Object
This class validates input values for Route implmentations
- Version:
- 4.0.0
Method Summary |
static void |
validateJndiName(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(String requestId)
This method validates the requestId, it must be non null and non-empty and
no more that five characters in length. |
RouteValidator
public RouteValidator()
validateJndiName
public static void validateJndiName(String jndiName)
throws ValidationException
- This method validates the JNDI name, it must be non null and non-empty
and no more than fifty characters in length.
- Parameters:
jndiName
- the JNDI name to validate
- Throws:
ValidationException
- if the JNDI name is invalid
validateRequestId
public static void validateRequestId(String requestId)
throws ValidationException
- This method validates the requestId, it must be non null and non-empty and
no more that five characters in length.
- Parameters:
requestId
- the request Id to validate
- Throws:
ValidationException
- if the string is invalid
Copyright © 2005, 2007, Oracle. All rights reserved.