All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.jvmbytes.spy.plugin.SpyPlugin Maven / Gradle / Ivy

The newest version!
package com.jvmbytes.spy.plugin;

import com.jvmbytes.filter.matcher.Matcher;
import com.jvmbytes.spy.event.EventType;
import com.jvmbytes.spy.listener.EventListener;

/**
 * spy plugin interface
 *
 * @author wongoo
 */
public interface SpyPlugin {
    /**
     * get plugin name
     *
     * @return name
     */
    String getName();

    /**
     * get plugin namespace
     *
     * @return namespace
     */
    String getNamespace();

    /**
     * get plugin matcher
     *
     * @return matcher
     */
    Matcher getMatcher();

    /**
     * get plugin event types
     *
     * @return event types
     */
    EventType[] getEventTypes();

    /**
     * get plugin event listener
     *
     * @return event listener
     */
    EventListener getEventListener();

    /**
     * get the prefixes of packages which should be loaded from parent class loader
     *
     * @return prefixes
     */
    String[] getParentPackagePrefixes();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy