FileDocCategorySizeDatePackage
ConverterHandlerFactory.javaAPI DocGlassfish v2 API3803Fri May 04 22:30:32 BST 2007com.sun.appserv.management.client.handler

ConverterHandlerFactory

public final class ConverterHandlerFactory extends Object
Private class, not for public use

Fields Summary
Constructors Summary
private ConverterHandlerFactory()

Methods Summary
public static com.sun.appserv.management.util.jmx.MBeanProxyHandlercreateHandler(com.sun.appserv.management.client.ConnectionSource connSource, javax.management.ObjectName objectName)

	    final String j2eeType   = Util.getJ2EEType( objectName );
	    
	    AMXProxyHandler	handler = null;
	    
	    if ( LOGGING.equals( j2eeType ) )
	    {
	        handler = new LoggingConverterHandler( connSource, objectName );
	    }
	    else if ( WEB_SERVICE_ENDPOINT.equals( j2eeType ) )
	    {
	        handler = new WebServiceEndpointConverterHandler( connSource, objectName );
	        // getMessagesInHistory()
	    }
	    else if ( WEB_SERVICE_MGR.equals( j2eeType ) )
	    {
	        handler = new WebServiceMgrConverterHandler( connSource, objectName );
	        // getWebServiceEndpointInfo()
	    }
	    else
	    {
    		handler	= new AMXProxyHandler( connSource, objectName );
	    }
	    
	    return handler;