public final class WorkManagerLegalHelper
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static weblogic.diagnostics.debug.DebugLogger |
debug |
Constructor and Description |
---|
WorkManagerLegalHelper() |
Modifier and Type | Method and Description |
---|---|
private static java.lang.String |
formatString(java.lang.String s,
java.util.Set<java.lang.String> servers,
java.util.Set<java.lang.String> clusters) |
private static java.util.Set<java.lang.String> |
getClusters(TargetMBean[] targets) |
private static java.util.Set<java.lang.String> |
getServers(TargetMBean[] targets) |
private static void |
printDebug(java.lang.String s) |
static void |
validateMaxThreadsConstraint(MaxThreadsConstraintMBean mtc)
This check ensures that a max threads constraint uses either a count or
a connection pool name but never both.
|
static void |
validateTargets(WorkManagerMBean wm,
DeploymentMBean deployment)
This check ensures that the intersection of targets for the work manager
and the constraint/request class it refers to is non-zero.
|
static void |
validateWorkManager(WorkManagerMBean wm)
This check ensures that a work manager refers to just one type of
request class and the targets are valid
|
public static void validateMaxThreadsConstraint(MaxThreadsConstraintMBean mtc)
public static void validateWorkManager(WorkManagerMBean wm)
public static void validateTargets(WorkManagerMBean wm, DeploymentMBean deployment)
private static java.util.Set<java.lang.String> getClusters(TargetMBean[] targets)
private static java.util.Set<java.lang.String> getServers(TargetMBean[] targets)
private static java.lang.String formatString(java.lang.String s, java.util.Set<java.lang.String> servers, java.util.Set<java.lang.String> clusters)
private static void printDebug(java.lang.String s)