Search in sources :

Example 1 with PropertiesAccess

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

the class PropertiesAccessTest method checkCreateRemove.

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

Example 2 with PropertiesAccess

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

the class PropertiesAccessTest method checkSetPropertiesSetToSameValue.

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

Example 3 with PropertiesAccess

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

the class PropertiesAccessTest method checkGetProperties.

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

Aggregations

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