com.ibm.websphere.validation.wbi.config
Class WBIResourcesValidator_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.WBIResourcesValidator_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:
WBIResourcesValidator_ApplicationServer, WBIResourcesValidator_DeploymentManager, WBIResourcesValidator_MessageBroker, WBIResourcesValidator_NodeAgent, WBIResourcesValidator_Untyped

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


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
WBIResourcesValidator_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.dynacache.CacheInstance factory)
          Perform cross validation that lies within the scope of the cache instance, but not which lies within any descendent scope.
 void validateAcross(com.ibm.websphere.models.config.dynacache.CacheProvider provider)
          Perform cross validation that lies within the scope of the cache provider, but not which lies within any descendent scope.
 void validateAcross(com.ibm.websphere.models.config.applicationserver.webcontainer.DRSSettings settings)
          Perform cross validation that lies within the scope of the DRS settings, but not which lies within any descendent scope.
 void validateAcross(com.ibm.ejs.models.base.resources.J2EEResourceProperty property)
          Perform cross validation that lies within the scope of the J2EE resource property, but not which lies within any descendent scope.
 void validateAcross(com.ibm.ejs.models.base.resources.J2EEResourcePropertySet propertySet)
          Perform cross validation that lies within the scope of the J2EE resource property set, but not which lies within any descendent scope.
 void validateAcross(com.ibm.websphere.models.config.objectpoolmanager.ObjectPool objectPool)
          Perform cross validation that lies within the scope of the object pool, but not which lies within any descendent scope.
 void validateAcross(com.ibm.websphere.models.config.objectpoolmanager.ObjectPoolManagerInfo objectPoolManagerInfo)
          Perform cross validation that lies within the scope of the object pool manager info, but not which lies within any descendent scope.
 void validateAcross(com.ibm.websphere.models.config.objectpoolmanager.ObjectPoolProvider provider)
          Perform cross validation that lies within the scope of the object pool provider, but not which lies within any descendent scope.
 void validateAcross(com.ibm.websphere.models.config.scheduler.SchedulerConfiguration schedulerConfiguration)
          Perform cross validation that lies within the scope of the scheduler configuration, but not which lies within any descendent scope.
 void validateAcross(com.ibm.websphere.models.config.scheduler.SchedulerProvider provider)
          Perform cross validation that lies within the scope of the scheduler provider, but not which lies within any descendent scope.
 void validateAcross(com.ibm.websphere.models.config.workmanager.WorkManagerInfo workManagerInfo)
          Perform cross validation that lies within the scope of the work manager info, but not which lies within any descendent scope.
 void validateAcross(com.ibm.websphere.models.config.workmanager.WorkManagerProvider provider)
          Perform cross validation that lies within the scope of the work manager provider, but not which lies within any descendent scope.
 void validateFactory(com.ibm.ejs.models.base.resources.J2EEResourceFactory factory)
          Generic validation code for attributes inherited from J2EEResourceFactory.
 void validateLocal(com.ibm.websphere.models.config.dynacache.CacheInstance factory)
          Validate the local cache instance values.
 void validateLocal(com.ibm.websphere.models.config.dynacache.CacheProvider provider)
          Validate the local cache provider values.
 void validateLocal(com.ibm.websphere.models.config.applicationserver.webcontainer.DRSSettings settings)
          Validate the local DRS settings values.
 void validateLocal(com.ibm.ejs.models.base.resources.J2EEResourceProperty property)
          Validate the local J2EE resource property values.
 void validateLocal(com.ibm.ejs.models.base.resources.J2EEResourcePropertySet propertySet)
          Validate the local J2EE resource property set values.
 void validateLocal(com.ibm.websphere.models.config.objectpoolmanager.ObjectPool objectPool)
          Validate the local object pool values.
 void validateLocal(com.ibm.websphere.models.config.objectpoolmanager.ObjectPoolManagerInfo objectPoolManagerInfo)
          Validate the local object pool manager info values.
 void validateLocal(com.ibm.websphere.models.config.objectpoolmanager.ObjectPoolProvider provider)
          Validate the local object pool provider values.
 void validateLocal(com.ibm.websphere.models.config.scheduler.SchedulerConfiguration schedulerConfiguration)
          Validate the local scheduler configuration values.
 void validateLocal(com.ibm.websphere.models.config.scheduler.SchedulerProvider provider)
          Validate the local scheduler provider values.
 void validateLocal(com.ibm.websphere.models.config.workmanager.WorkManagerInfo workManagerInfo)
          Validate the local work manager info values.
 void validateLocal(com.ibm.websphere.models.config.workmanager.WorkManagerProvider provider)
          Validate the local work manager provider values.
 void validateProvider(com.ibm.ejs.models.base.resources.J2EEResourceProvider provider)
          Generic validation code for attributes inherited from J2EEResourceProvider.
protected  void validateRootResources(java.util.List targetList)
           
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

WBIResourcesValidator_Default

public WBIResourcesValidator_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

validateRootResources

protected void validateRootResources(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.dynacache.CacheProvider provider)

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


validateLocal

public void validateLocal(com.ibm.websphere.models.config.dynacache.CacheProvider provider)

Validate the local cache provider values.


validateAcross

public void validateAcross(com.ibm.websphere.models.config.dynacache.CacheInstance factory)

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


validateLocal

public void validateLocal(com.ibm.websphere.models.config.dynacache.CacheInstance factory)

Validate the local cache instance values.


validateAcross

public void validateAcross(com.ibm.websphere.models.config.applicationserver.webcontainer.DRSSettings settings)

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


validateLocal

public void validateLocal(com.ibm.websphere.models.config.applicationserver.webcontainer.DRSSettings settings)

Validate the local DRS settings values.


validateAcross

public void validateAcross(com.ibm.websphere.models.config.objectpoolmanager.ObjectPoolProvider provider)

Perform cross validation that lies within the scope of the object pool provider, but not which lies within any descendent scope.


validateLocal

public void validateLocal(com.ibm.websphere.models.config.objectpoolmanager.ObjectPoolProvider provider)

Validate the local object pool provider values.


validateAcross

public void validateAcross(com.ibm.websphere.models.config.objectpoolmanager.ObjectPoolManagerInfo objectPoolManagerInfo)

Perform cross validation that lies within the scope of the object pool manager info, but not which lies within any descendent scope.


validateLocal

public void validateLocal(com.ibm.websphere.models.config.objectpoolmanager.ObjectPoolManagerInfo objectPoolManagerInfo)

Validate the local object pool manager info values.


validateAcross

public void validateAcross(com.ibm.websphere.models.config.objectpoolmanager.ObjectPool objectPool)

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


validateLocal

public void validateLocal(com.ibm.websphere.models.config.objectpoolmanager.ObjectPool objectPool)

Validate the local object pool values.


validateAcross

public void validateAcross(com.ibm.websphere.models.config.scheduler.SchedulerProvider provider)

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


validateLocal

public void validateLocal(com.ibm.websphere.models.config.scheduler.SchedulerProvider provider)

Validate the local scheduler provider values.


validateAcross

public void validateAcross(com.ibm.websphere.models.config.scheduler.SchedulerConfiguration schedulerConfiguration)

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


validateLocal

public void validateLocal(com.ibm.websphere.models.config.scheduler.SchedulerConfiguration schedulerConfiguration)

Validate the local scheduler configuration values.


validateAcross

public void validateAcross(com.ibm.websphere.models.config.workmanager.WorkManagerProvider provider)

Perform cross validation that lies within the scope of the work manager provider, but not which lies within any descendent scope.


validateLocal

public void validateLocal(com.ibm.websphere.models.config.workmanager.WorkManagerProvider provider)

Validate the local work manager provider values.


validateAcross

public void validateAcross(com.ibm.websphere.models.config.workmanager.WorkManagerInfo workManagerInfo)

Perform cross validation that lies within the scope of the work manager info, but not which lies within any descendent scope.


validateLocal

public void validateLocal(com.ibm.websphere.models.config.workmanager.WorkManagerInfo workManagerInfo)

Validate the local work manager info values.


validateAcross

public void validateAcross(com.ibm.ejs.models.base.resources.J2EEResourcePropertySet propertySet)

Perform cross validation that lies within the scope of the J2EE resource property set, but not which lies within any descendent scope.


validateLocal

public void validateLocal(com.ibm.ejs.models.base.resources.J2EEResourcePropertySet propertySet)

Validate the local J2EE resource property set values.


validateAcross

public void validateAcross(com.ibm.ejs.models.base.resources.J2EEResourceProperty property)

Perform cross validation that lies within the scope of the J2EE resource property, but not which lies within any descendent scope.


validateLocal

public void validateLocal(com.ibm.ejs.models.base.resources.J2EEResourceProperty property)

Validate the local J2EE resource property values.


validateProvider

public void validateProvider(com.ibm.ejs.models.base.resources.J2EEResourceProvider provider)

Generic validation code for attributes inherited from J2EEResourceProvider.


validateFactory

public void validateFactory(com.ibm.ejs.models.base.resources.J2EEResourceFactory factory)

Generic validation code for attributes inherited from J2EEResourceFactory.