/*
* (c) Rob Gordon 2005
*/
package org.oddjob.jmx;
import org.oddjob.jmx.handlers.DescribeableHandlerFactory;
import org.oddjob.jmx.handlers.DynaBeanHandlerFactory;
import org.oddjob.jmx.handlers.LogEnabledHandlerFactory;
import org.oddjob.jmx.handlers.LogPollableHandlerFactory;
import org.oddjob.jmx.handlers.ObjectInterfaceHandlerFactory;
import org.oddjob.jmx.handlers.RemoteOddjobHandlerFactory;
import org.oddjob.jmx.server.ServerInterfaceHandlerFactory;
/**
* Constants shared between client and server.
*
* @author Rob Gordon.
*/
public class SharedConstants {
/** The retrieve log events method name. */
public static final String RETRIEVE_LOG_EVENTS_METHOD = "retrieveLogEvents";
/** The retrieve console events method name. */
public static final String RETRIEVE_CONSOLE_EVENTS_METHOD = "retrieveConsoleEvents";
/** The to string method name. */
public static final String TO_STRING_METHOD = "toString";
/** Get logger method name. */
public static final String GET_LOGGER_METHOD = "loggerName";
public static final ServerInterfaceHandlerFactory<?, ?>[] DEFAULT_SERVER_HANDLER_FACTORIES
= { new DynaBeanHandlerFactory(),
new LogEnabledHandlerFactory(),
new LogPollableHandlerFactory(),
new ObjectInterfaceHandlerFactory(),
new DescribeableHandlerFactory(),
new RemoteOddjobHandlerFactory(),
};
}