com.bankframe.services.route
Class RouteValidator

java.lang.Object
  extended bycom.bankframe.services.route.RouteValidator

public class RouteValidator
extends java.lang.Object

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

RouteValidator

public RouteValidator()
Method Detail

validateJndiName

public static void validateJndiName(java.lang.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(java.lang.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.