BEA Systems, Inc.

Type-Safe Access to BEA WebLogic Server 9.0 MBeans (Deprecated)

(Methods marked with @since 9.0.0.0 are not available through the deprecated MBeanHome interface.)


weblogic.management.configuration
Class LegalChecks

java.lang.Object
  extended byweblogic.management.configuration.LegalChecks

public class LegalChecks
extends Object

Copyright © 2005 BEA Systems, Inc. All Rights Reserved.

Constructor Summary
LegalChecks()
           
 
Method Summary
static void checkLegalIntSet(Attribute attribute, int[] set)
          Assert int attribute value is a member of set.
static void checkLegalRange(Attribute attribute, long min, long max)
          Assert attribute value is within the range [min, max].
static String checkLegalStringSet(Attribute attribute, String[] set)
          Assert string attribute value is a member of set
static void checkNonEmptyString(Attribute attribute)
          Assert string attribute value is non-null and non-empty
static void checkNonNull(Attribute attribute)
          Assert attribute value is non-null
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LegalChecks

public LegalChecks()
Method Detail

checkLegalIntSet

public static void checkLegalIntSet(Attribute attribute,
                                    int[] set)
                             throws InvalidAttributeValueException
Assert int attribute value is a member of set.

Parameters:
attribute -
set -
Throws:
InvalidAttributeValueException - if value does not match one in set.

checkLegalRange

public static void checkLegalRange(Attribute attribute,
                                   long min,
                                   long max)
                            throws InvalidAttributeValueException
Assert attribute value is within the range [min, max].

Parameters:
attribute -
min -
max -
Throws:
InvalidAttributeValueException

checkLegalStringSet

public static String checkLegalStringSet(Attribute attribute,
                                         String[] set)
                                  throws InvalidAttributeValueException
Assert string attribute value is a member of set

Parameters:
attribute -
set -
Returns:
Throws:
InvalidAttributeValueException - if value does not match one in set.

checkNonEmptyString

public static void checkNonEmptyString(Attribute attribute)
                                throws InvalidAttributeValueException
Assert string attribute value is non-null and non-empty

Parameters:
attribute -
Throws:
InvalidAttributeValueException

checkNonNull

public static void checkNonNull(Attribute attribute)
                         throws InvalidAttributeValueException
Assert attribute value is non-null

Parameters:
attribute -
Throws:
InvalidAttributeValueException

Documentation is available at
http://e-docs.bea.com/wls/docs90
Copyright 2005 BEA Systems Inc.