Search in sources :

Example 1 with SystemPropertiesAccess

use of com.sun.appserv.management.config.SystemPropertiesAccess in project Payara by payara.

the class SystemPropertiesAccessTest method checkGetProperties.

public synchronized void checkGetProperties(final ObjectName src) throws Exception {
    final AMX proxy = getProxy(src, AMX.class);
    if (!(proxy instanceof SystemPropertiesAccess)) {
        throw new IllegalArgumentException("MBean does not implement SystemPropertiesAccess: " + quote(src));
    }
    final SystemPropertiesAccess props = (SystemPropertiesAccess) proxy;
    checkPropertiesGet(props);
}
Also used : SystemPropertiesAccess(com.sun.appserv.management.config.SystemPropertiesAccess) AMX(com.sun.appserv.management.base.AMX)

Example 2 with SystemPropertiesAccess

use of com.sun.appserv.management.config.SystemPropertiesAccess in project Payara by payara.

the class SystemPropertiesAccessTest method checkSetPropertiesSetToSameValue.

public void checkSetPropertiesSetToSameValue(final ObjectName src) throws Exception {
    final SystemPropertiesAccess props = getProxy(src, SystemPropertiesAccess.class);
    testPropertiesSetToSameValue(props);
}
Also used : SystemPropertiesAccess(com.sun.appserv.management.config.SystemPropertiesAccess)

Example 3 with SystemPropertiesAccess

use of com.sun.appserv.management.config.SystemPropertiesAccess in project Payara by payara.

the class SystemPropertiesAccessTest method checkCreateRemove.

public void checkCreateRemove(final ObjectName src) throws Exception {
    final SystemPropertiesAccess props = getProxy(src, SystemPropertiesAccess.class);
    testSystemPropertiesCreateRemove(props);
}
Also used : SystemPropertiesAccess(com.sun.appserv.management.config.SystemPropertiesAccess)

Aggregations

SystemPropertiesAccess (com.sun.appserv.management.config.SystemPropertiesAccess)3 AMX (com.sun.appserv.management.base.AMX)1