FileDocCategorySizeDatePackage
JMSAvailabilityConfigFactory.javaAPI DocGlassfish v2 API3369Fri May 04 22:23:18 BST 2007com.sun.enterprise.management.config

JMSAvailabilityConfigFactory

public final class JMSAvailabilityConfigFactory extends ConfigFactory

Fields Summary
private final com.sun.enterprise.management.support.oldconfig.OldAvailabilityServiceMBean
mOldAvailabilityService
Constructors Summary
public JMSAvailabilityConfigFactory(ConfigFactoryCallback callbacks)

		super( callbacks );
		
		mOldAvailabilityService	=
		    getOldConfigProxies().getOldAvailabilityServiceMBean( getConfigName() );
	
Methods Summary
public javax.management.ObjectNamecreate(boolean availabilityEnabled, java.lang.String mqStorePoolName)

        final String[] requiredParams = 
		{
			"availability-enabled", "" + availabilityEnabled,
			"mq-store-pool-name", mqStorePoolName,
		};
		
		final Map<String,String> params	= initParams( requiredParams, null );

		final ObjectName	amxName	= createChild( null );
		
		return( null );
	
protected javax.management.ObjectNamecreateOldChildConfig(javax.management.AttributeList attrs)

		final ObjectName oldObjectName =
		    mOldAvailabilityService.createJmsAvailability( attrs );

		return oldObjectName;
	
protected voidinternalRemove(javax.management.ObjectName objectName)

		mOldAvailabilityService.removeJmsAvailability();