* Get the availability-enabled for the bean from sun-ejb-jar.xml.
* return defaultValue if not found
*/
public boolean getAvailabilityEnabledFromEjbDescriptor(boolean inheritedValue) {
_logger.finest("in EJBServerConfigLookup>>getAvailabilityEnabledFromEjbDescriptor");
IASEjbExtraDescriptors extraDescriptors =
_ejbDescriptor.getIASEjbExtraDescriptors();
if (extraDescriptors == null) {
return inheritedValue;
}
String availabilityEnabledString =
extraDescriptors.getAttributeValue(IASEjbExtraDescriptors.AVAILABILITY_ENABLED);
if (availabilityEnabledString == null) {
return inheritedValue;
} else {
return toBoolean(availabilityEnabledString);