com.ibm.websphere.validation.wbi.config
Class WBIServerValidator_Default

java.lang.Object
  extended by com.ibm.websphere.validation.base.config.MOFValidator
      extended by com.ibm.websphere.validation.base.config.WebSpherePlatformValidator
          extended by com.ibm.websphere.validation.base.config.WebSphereLevelValidator
              extended by com.ibm.websphere.validation.base.config.level60.ServerContextValidator_60
                  extended by com.ibm.websphere.validation.wbi.config.WBIServerValidator_Default
All Implemented Interfaces:
com.ibm.websphere.validation.base.config.MOFValidationConstants, com.ibm.websphere.validation.base.config.WebSpherePlatformConstants, WBIValidationConstants, org.eclipse.wst.validation.internal.provisional.core.IValidator
Direct Known Subclasses:
WBIServerValidator_ApplicationServer, WBIServerValidator_DeploymentManager, WBIServerValidator_MessageBroker, WBIServerValidator_NodeAgent

public class WBIServerValidator_Default
extends com.ibm.websphere.validation.base.config.level60.ServerContextValidator_60
implements WBIValidationConstants

Validate WBI Server classes.


Field Summary
protected  boolean _pastTopList
           
static java.lang.String pgmUpdate
           
static java.lang.String pgmVersion
           
 
Fields inherited from class com.ibm.websphere.validation.base.config.WebSphereLevelValidator
_parentValidator
 
Fields inherited from class com.ibm.websphere.validation.base.config.WebSpherePlatformValidator
_featuresHelper, _typeTester, _workSpaceHelper, MAX_WAS_QUEUE_LENGTH
 
Fields inherited from class com.ibm.websphere.validation.base.config.MOFValidator
_currentFileNo, _fileNames, _helper, _parents, _reporter, _trace, ALLOW_EMPTY_COLLECTION, DEBUG_PROPERTY_NAME, FORBID_EMPTY_COLLECTION
 
Fields inherited from interface com.ibm.websphere.validation.wbi.config.WBIValidationConstants
ERROR_WBI_ATTRIBUTE_ALREADY_SPECIFIED, ERROR_WBI_ATTRIBUTE_VALUE_OUT_OF_RANGE, ERROR_WBI_AUTH_DATA_ALIAS_NOT_LOCATED, ERROR_WBI_CLUSTER_DYNAMIC_WEIGHTING_REQUIRES_PMI, ERROR_WBI_DOCUMENT_HAS_MULTIPLE_ROOTS, ERROR_WBI_DUPLICATE_CONFIG, ERROR_WBI_EMPTY_DOCUMENT, ERROR_WBI_EXT_ATTRIBUTE_VALUE_OUT_OF_RANGE, ERROR_WBI_I18N_RUNAS, ERROR_WBI_ILLEGAL_LOCALE, ERROR_WBI_ILLEGAL_TIMEZONE, ERROR_WBI_INCORRECT_CONTAINER_MANAGEMENT, ERROR_WBI_INVALID_ATTRIBUTE_TYPE, ERROR_WBI_INVALID_ATTRIBUTE_VALUE, ERROR_WBI_INVALID_ROOT_OBJECT, ERROR_WBI_READ_AHEAD_INCONSISTENT_INTENT, ERROR_WBI_RECOGNITION_FAILED, ERROR_WBI_REQUIRED_ATTRIBUTE, ERROR_WBI_REQUIRED_EXT_ATTRIBUTE, ERROR_WBI_REQUIRED_RELATIONSHIP, ERROR_WBI_UNKNOWN_ATTRIBUTE, INFO_WBI_DEFAULT_WAS_DQ, INFO_WBI_READ_AHEAD_WITH_INHERITANCE, INFO_WBI_RECURSIVE_READ_AHEAD_HINT, WBI_BUNDLE_ID
 
Fields inherited from interface com.ibm.websphere.validation.base.config.WebSpherePlatformConstants
ERROR_CANNOT_LOAD_DEFAULT_VALIDATOR, ERROR_CANNOT_LOAD_UNTYPED_VALIDATOR, ERROR_ENDPOINT_HOST_REQUIRED, ERROR_ENDPOINT_PORT_INVALID, ERROR_ENDPOINT_PORT_REQUIRED, ERROR_FEATURES_LOAD_EXCEPTION, ERROR_FEATURES_LOAD_FAILURE, ERROR_INVALID_SECURITY_ROOT_TRANSPORT_ALIASES, ERROR_INVALID_SECURITY_TRANSPORT_ALIASES, ERROR_STATE_MANAGEABLE_INITIAL_STATE_INVALID, ERROR_STATE_MANAGEABLE_INITIAL_STATE_REQUIRED, ERROR_THREAD_POOL_INACTIVITY_TIMEOUT_OUT_OF_RANGE, ERROR_THREAD_POOL_MAXIMUM_SIZE_OUT_OF_RANGE, ERROR_THREAD_POOL_MINIMUM_SIZE_OUT_OF_RANGE, ERROR_THREAD_POOL_SIZE_CONFLICT, ERROR_TRANSPORT_PROPERTY_DUPLICATION, ERROR_TRANSPORT_PROPERTY_NAME_REQUIRED, ERROR_TRANSPORT_SSLCONFIG_REQUIRED, ERROR_TRANSPORT_SSLENABLED_REQUIRED, ERROR_UNABLE_TO_RETRIEVE_SECURITY_TRANSPORT_ALIASES, ERROR_VALIDATOR_DELEGATE_LOAD_FAILURE, ERROR_VALIDATOR_LEVEL_DELEGATE_LOAD_FAILURE, ERROR_VALIDATOR_LEVEL_DELEGATE_SELECT_FAILURE, ERROR_VALIDATOR_LEVEL_FEATURE_FAILURE, WARNING_THREAD_POOL_SIZE_MAYBE_TOO_HIGH, WEBSPHERE_PLATFORM_BUNDLE_ID
 
Fields inherited from interface com.ibm.websphere.validation.base.config.MOFValidationConstants
ERROR_EMPTY_LOAD, ERROR_MISSTYPED_LOAD, ERROR_NULL_LOAD, ERROR_VALIDATION_FAILED, ERROR_VALIDATION_RUN_FAILED, INFO_COMPONENT_NAME, INFO_MOF_BANNER, INFO_NON_MOF_BANNER, INFO_SUBCOMPONENT_NAME, MOF_BUNDLE_ID, VALIDATOR_NAME, WARNING_RECOGNITION_FAILED
 
Constructor Summary
WBIServerValidator_Default(com.ibm.websphere.validation.base.config.WebSpherePlatformValidator parentValidator)
          Validator constructor following the superclass defined API.
 
Method Summary
protected  boolean basicValidate(java.lang.Object validationTarget)
          Helper validation method.
 java.lang.String getBundleId()
          Answer the name of the resource bundle which is used by the receiver.
 java.lang.String getTraceName()
          Answer the name which is to be used when displaying trace information for the receiver.
protected  void moveToFirstFile()
           
protected  void moveToNextFile()
           
 void validateAcross(com.ibm.websphere.models.config.wbiserver.WBIServerExtension wbiServer)
          Perform cross validation that lies within the scope of the WBI server, but not which lies within any descendent scope.
 void validateLocal(com.ibm.websphere.models.config.wbiserver.WBIServerExtension wbiServer)
          Validate the local WBI server values.
protected  void validateRootServer(java.util.List targetList)
           
 void validateService(com.ibm.websphere.models.config.process.Service service)
          Generic validation code for attributes inherited from Service.
protected  void visitList(java.util.List targetList)
           
 
Methods inherited from class com.ibm.websphere.validation.base.config.WebSphereLevelValidator
forgetVisit, getCurrentFileName, getHelper, getParentValidator, getReporter, recordVisit, setParentValidator, wasVisited
 
Methods inherited from class com.ibm.websphere.validation.base.config.WebSpherePlatformValidator
basicValidate, basicValidate, clearCachedData, createFeaturesHelper, createWorkSpaceHelper, getApplicationNames, getApplicationUris, getCellName, getCellSecurity, getCellSecurityAliasTable, getCellSecurityJAASAuthDataTable, getCellUri, getClusterNames, getClusterUris, getCoreGroup, getCoreGroupNames, getCoreGroups, getCoreGroupUri, getCoreGroupUris, getDeploymentMap, getFeaturesHelper, getMultibrokerDomains, getNodeGroupNames, getNodeGroupUris, getNodeName, getNodeNames, getNodeNodeAgents, getNodeServerNames, getNodeServerUris, getNodeSystemMessageServers, getNodeUri, getNodeUri, getNodeUris, getServerEntry, getServerEntry, getServerIndex, getServerIndex, getServerIndices, getServerName, getServerType, getServerUri, getWebServer, getWorkSpaceHelper, hasNamedCoreGroup, isDeployed, isFederated, isSetToStart, isSetToStart, isTemplate, isValueValidByType, isZOS, testClassPath, testFile, testInteger, testInteger, testInteger, testInteger, testInteger, testIntegerMax, testIntegerMax, testIntegerMax, testIntegerMin, testIntegerMin, testIntegerMin, testIntegerMin, testJarPath, testJavaClass, testLong, testLong, testLong, testLong, testLongMax, testLongMax, testLongMax, testLongMin, testLongMin, testLongMin, testLongMin, testName, testNullOrEmpty, testNullOrEmptyError, testNullOrEmptyWarning, testPath, testPort, testPort, testURI, testURL, testValidChars, validateAcross, validateAcross, validateAcross, validateAcross, validateAcross, validateAcross, validateDescriptiveProperties, validateDescriptiveProperties, validateFile, validateLocal, validateLocal, validateLocal, validateLocal, validateLocal, validateLocal, validateProperties, validateProperties
 
Methods inherited from class com.ibm.websphere.validation.base.config.MOFValidator
addError, addError, addError, addInfo, addInfo, addInfo, addMessage, addWarning, addWarning, addWarning, basicVisit, cleanup, disableTrace, enableTrace, getChildren, getEmptyLoadFailureCode, getExceptionText, getExecutionFailureCode, getExtendedClass, getLoadTypeFailureCode, getNullLoadCode, getRecognitionFailureCode, getRelativePath, getSiblingPath, getTrace, getValidationFailureCode, handleEmptyLoad, handleLoadException, handleMisstypedLoad, handleNullLoad, handleRunException, hasAnotherFile, initParents, isEnumValueValid, isEnumValueValid, isTraceEnabled, loadModel, loadModel, loadModel, loadModel, loadRelativeModel, loadRelativeModel, loadRelativeModel, loadRelativeModel, loadRelativeModel, loadRelativeModel, loadSiblingModel, loadSiblingModel, loadSiblingModel, loadSiblingModel, maybeEnableTrace, nabEndOf, nabEndOfNoSlash, nabHeadOf, nabTailOf, setHelper, setReporter, setTrace, trace, trace, traceBegin, traceBegin, traceEnd, traceEnd, traceEnd, traceException, traceStub, traceStub, trimLeadingChainOf, validate, visit, visitNonList, visitNonTraversing, visitTraversing
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

pgmVersion

public static final java.lang.String pgmVersion
See Also:
Constant Field Values

pgmUpdate

public static final java.lang.String pgmUpdate
See Also:
Constant Field Values

_pastTopList

protected boolean _pastTopList
Constructor Detail

WBIServerValidator_Default

public WBIServerValidator_Default(com.ibm.websphere.validation.base.config.WebSpherePlatformValidator parentValidator)

Validator constructor following the superclass defined API. When using this particular constructor, the form of the validate method which takes arguments must be used.

Method Detail

getBundleId

public java.lang.String getBundleId()

Answer the name of the resource bundle which is used by the receiver.

Specified by:
getBundleId in class com.ibm.websphere.validation.base.config.WebSphereLevelValidator

getTraceName

public java.lang.String getTraceName()

Answer the name which is to be used when displaying trace information for the receiver.

Overrides:
getTraceName in class com.ibm.websphere.validation.base.config.MOFValidator

moveToFirstFile

protected void moveToFirstFile()
Overrides:
moveToFirstFile in class com.ibm.websphere.validation.base.config.WebSpherePlatformValidator

moveToNextFile

protected void moveToNextFile()
Overrides:
moveToNextFile in class com.ibm.websphere.validation.base.config.WebSpherePlatformValidator

visitList

protected void visitList(java.util.List targetList)
                  throws org.eclipse.wst.validation.internal.core.ValidationException
Overrides:
visitList in class com.ibm.websphere.validation.base.config.MOFValidator
Throws:
org.eclipse.wst.validation.internal.core.ValidationException

validateRootServer

protected void validateRootServer(java.util.List targetList)

basicValidate

protected boolean basicValidate(java.lang.Object validationTarget)
                         throws org.eclipse.wst.validation.internal.core.ValidationException

Helper validation method. For internal use. Answer true or false, telling if the target was recognized (and hence validated).

Overrides:
basicValidate in class com.ibm.websphere.validation.base.config.WebSpherePlatformValidator
Parameters:
validationTarget - The target object for validation.
selection - A specification of the scope of validation to be run.
Throws:
org.eclipse.wst.validation.internal.core.ValidationException

validateAcross

public void validateAcross(com.ibm.websphere.models.config.wbiserver.WBIServerExtension wbiServer)

Perform cross validation that lies within the scope of the WBI server, but not which lies within any descendent scope.


validateLocal

public void validateLocal(com.ibm.websphere.models.config.wbiserver.WBIServerExtension wbiServer)
Validate the local WBI server values.


validateService

public void validateService(com.ibm.websphere.models.config.process.Service service)
Generic validation code for attributes inherited from Service.