public final class EJBContainerAvailabilityConfigFactory extends ConfigFactory { private final OldAvailabilityServiceMBean mOldAvailabilityService; public EJBContainerAvailabilityConfigFactory( final ConfigFactoryCallback callbacks, OldAvailabilityServiceMBean old) { super(callbacks); mOldAvailabilityService = getOldConfigProxies().getOldAvailabilityServiceMBean(getConfigName()); } private final Set<String> LEGAL_OPTIONAL_KEYS = GSetUtil.newUnmodifiableStringSet( EJBContainerAvailabilityConfigKeys.EJB_CONTAINER_AVAILABILITY_ENABLED_KEY, EJBContainerAvailabilityConfigKeys.SFSB_HA_PERSISTENCE_TYPE_KEY, EJBContainerAvailabilityConfigKeys.SFSB_PERSISTENCE_TYPE_KEY, EJBContainerAvailabilityConfigKeys.SFSB_CHECKPOINT_ENABLED_KEY, EJBContainerAvailabilityConfigKeys.SFSB_QUICK_CHECKPOINT_ENABLED_KEY, EJBContainerAvailabilityConfigKeys.SFSB_STORE_POOL_NAME_KEY); protected Set<String> getLegalOptionalCreateKeys() { return (LEGAL_OPTIONAL_KEYS); } public ObjectName create(final Map<String, String> optional) { final Map<String, String> params = initParams(optional); final ObjectName amxName = createChild(params); return (amxName); } protected void internalRemove(final ObjectName objectName) { mOldAvailabilityService.removeEjbContainerAvailability(); } protected ObjectName createOldChildConfig(final AttributeList attrs) { final ObjectName oldObjectName = mOldAvailabilityService.createEjbContainerAvailability(attrs); return oldObjectName; } }
public String[] getjdbcDataSources() { return (GSetUtil.toStringArray(getJDBCDataSourceObjectNameSet())); }
/** * Get all log records of the specified error level or higher level for a particular module in the * most current log file. * * @see LogQuery */ public LogQueryResult queryServerLog(final String logLevel, final String moduleID) { return queryServerLog(logLevel, GSetUtil.newSet(moduleID)); }