/* * JBoss, the OpenSource J2EE webOS * * Distributable under LGPL license. * See terms of license at gnu.org. */ package org.jboss.ejb; import org.jboss.invocation.Invocation; /** * Provides the interface for all container interceptors. * * @author Rickard Öberg * @author Marc Fleury * @version $Revision: 1.10 $ * *

20011219 marc fleury: *

*/ public interface Interceptor extends ContainerPlugin { /** * Set the next interceptor in the chain. * * @param interceptor The next interceptor in the chain. */ void setNext(Interceptor interceptor); /** * Get the next interceptor in the chain. * * @return The next interceptor in the chain. */ Interceptor getNext(); /** * ??? * * @param mi ??? * @return ??? * * @throws Exception ??? */ Object invokeHome(Invocation mi) throws Exception; /** * ??? * * @param mi ??? * @return ??? * * @throws Exception ??? */ Object invoke(Invocation mi) throws Exception; }