* sip-container-availability element in domain.xml if present,
* otherwise the global availability-enabled
*/
public boolean getSipContainerAvailabilityEnabledFromConfig() {
boolean globalAvailabilityEnabled = getAvailabilityEnabledFromConfig();
SipContainerAvailability sca = getSipContainerAvailability();
if (sca == null) {
return globalAvailabilityEnabled;
}
String value = sca.getAvailabilityEnabled();
if (value == null) {
return globalAvailabilityEnabled;
} else {
return ConfigBean.toBoolean(value);