Methods Summary |
---|
com.sun.enterprise.Switch | getAppServerSwitchObject()Gets the application server Switch object for accessing env. objects.
This is an internal method created to eliminate dependency for other
methods. This enables one to develop unit tests for this class.
return Switch.getSwitch();
|
java.lang.String[] | getPropNamesAsStrArr(com.sun.enterprise.config.serverbeans.ElementProperty[] props)Return an the element property names as an array of strings.
if (props == null) {
return null;
} else {
String [] result = new String[props.length];
for(int i = 0; i < props.length; i++) {
result[i] = props[i].getName();
}
return result;
}
|
java.lang.String[] | getPropValuesAsStrArr(com.sun.enterprise.config.serverbeans.ElementProperty[] props)Return an the element property values as an array of strings.
if (props == null) {
return null;
} else {
String [] result = new String[props.length];
for(int i = 0; i < props.length; i++) {
result[i] = props[i].getValue();
}
return result;
}
|