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

LoggingConverterHandler

public final class LoggingConverterHandler extends ConverterHandler
Specialized handler for {@link com.sun.appserv.management.ext.logging.Logging}.

Fields Summary
Constructors Summary
public LoggingConverterHandler(com.sun.appserv.management.client.ConnectionSource connectionSource, ObjectName proxiedMBeanObjectName)

		super( connectionSource, proxiedMBeanObjectName );
	
Methods Summary
protected java.lang.ObjectconvertResult(java.lang.reflect.Method method, java.lang.Object resultIn)

override

        Object  resultOut   = resultIn;
        
        if ( method.getName().equals( "queryServerLog" ) )
        {
            final List<Serializable[]>  ls  = TypeCast.asList( resultIn );
            
            final LogQueryResult converted = new LogQueryResultImpl( ls );
            resultOut   = converted;
        }
        
        return resultOut;