FileDocCategorySizeDatePackage
WebServiceEndpointConfigFactory.javaAPI DocGlassfish v2 API4862Fri May 04 22:23:22 BST 2007com.sun.enterprise.management.config

WebServiceEndpointConfigFactory

public final class WebServiceEndpointConfigFactory extends ConfigFactory

Fields Summary
private final Set
LEGAL_OPTIONAL_KEYS
private static final String
CREATE_WEB_SERVICE_ENDPOINT
private static final String[]
CREATE_WEB_SERVICE_ENDPOINT_SIG
private static final String
REMOVE_WEB_SERVICE_ENDPOINT
private static final String[]
REMOVE_WEB_SERVICE_ENDPOINT_SIG
Constructors Summary
public WebServiceEndpointConfigFactory(ConfigFactoryCallback callbacks)

		super( callbacks );
	
Methods Summary
public javax.management.ObjectNamecreate(java.lang.String name, java.util.Map optional)

        final Map<String,String> params = initParams(name, null, optional);

        trace( "params as processed: " + stringify( params ) );

		final ObjectName	amxName	= createChild( params );
		
		return( amxName );
    
protected javax.management.ObjectNamecreateOldChildConfig(javax.management.AttributeList translatedAttrs)
The caller is responsible for dealing with any Properties.

        final ObjectName oldObjectName = (ObjectName)
        getCallbacks().getDelegate().invoke(
            CREATE_WEB_SERVICE_ENDPOINT, new Object[] { translatedAttrs }, 
            CREATE_WEB_SERVICE_ENDPOINT_SIG );
		
		return oldObjectName;

	
protected java.util.SetgetLegalOptionalCreateKeys()


                
         
	
	
		return( LEGAL_OPTIONAL_KEYS );
	
protected java.util.MapgetParamNameOverrides()

        Map<String,String> m = new HashMap<String,String>();
        m.put(WebServiceEndpointConfigKeys.MONITORING_LEVEL_KEY, "Monitoring");
        m.put(WebServiceEndpointConfigKeys.JBI_ENABLED_KEY, "JbiEnabled");

		return( m );
	
public voidinternalRemove(javax.management.ObjectName wseConfigObjectName)

         final String	name	= Util.getName( wseConfigObjectName );

	    getCallbacks().getDelegate().invoke( REMOVE_WEB_SERVICE_ENDPOINT, new
        Object[] { name }, REMOVE_WEB_SERVICE_ENDPOINT_SIG );
		getCallbacks().sendConfigRemovedNotification( wseConfigObjectName );