public final class ResourceGroupMultitargetingUtils
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static weblogic.management.provider.beaninfo.BeanInfoAccess |
beanInfoAccess |
Modifier | Constructor and Description |
---|---|
private |
ResourceGroupMultitargetingUtils() |
Modifier and Type | Method and Description |
---|---|
private static java.util.List<java.lang.String> |
checkAnnotation(java.util.List<java.lang.String> list,
java.lang.Object obj)
If the MBean is annotated with SingleTargetOnly annotation, it is added to the list
|
static java.util.List<java.lang.String> |
findBlacklistedResources(ResourceGroupMBean rgMBean)
Iterate through resources under the resource group and returns list of resources
that do not support multitargeting
|
private static java.beans.BeanInfo |
getBeanInfo(java.lang.Object obj) |
private static boolean |
hasCommon(java.util.Set<java.lang.String> set1,
java.util.Set<java.lang.String> set2) |
static java.lang.String |
sharePhysicalServer(TargetMBean[] targets,
TargetMBean targetToCompare)
check if targetToCompare share physical server with any of the targets.
|
private static final weblogic.management.provider.beaninfo.BeanInfoAccess beanInfoAccess
public static java.util.List<java.lang.String> findBlacklistedResources(ResourceGroupMBean rgMBean) throws java.io.IOException, java.lang.reflect.InvocationTargetException, java.lang.IllegalAccessException
Iterate through resources under the resource group and returns list of resources that do not support multitargeting
java.io.IOException
java.lang.reflect.InvocationTargetException
java.lang.IllegalAccessException
public static java.lang.String sharePhysicalServer(TargetMBean[] targets, TargetMBean targetToCompare)
check if targetToCompare share physical server with any of the targets.
targets
- targetToCompare
- private static java.util.List<java.lang.String> checkAnnotation(java.util.List<java.lang.String> list, java.lang.Object obj)
If the MBean is annotated with SingleTargetOnly annotation, it is added to the list
private static java.beans.BeanInfo getBeanInfo(java.lang.Object obj)
private static boolean hasCommon(java.util.Set<java.lang.String> set1, java.util.Set<java.lang.String> set2)