| Interceptor.java |
/*
* 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 <a href="mailto:rickard.oberg@telkel.com">Rickard Öberg</a>
* @author <a href="mailto:marc.fleury@jboss.org">Marc Fleury</a>
* @version $Revision: 1.15 $
*
*<p><b>20011219 marc fleury:</b>
* <ul>
* <li>Method Invocation is replaced by Invocation
*</ul>
*/
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;
}
| Interceptor.java |