Subversion Repositories bacoAlunos

Rev

Blame | Compare with Previous | Last modification | View Log | RSS feed

/*
BERSERK - a BusinEss Runtime and SEcurity Resources Kit
Copyright (C) 2003 Goncalo Luiz

This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

To contact Goncalo Luiz use the following e-mail address (use an @ instead of the _):
gedl_mega.ist.utl.pt
*/

/*
 * Created on Mar 31, 2004
 *
 * by gedl
 */

package pt.utl.ist.berserk.logic.serviceManager;

import pt.utl.ist.berserk.logic.filterManager.IFilterChain;

/**
 * This class holds the information about a Service <-> FilterChain association.<br/>
 * It has the method which will be filtered by the chain, in the scope of the given service
 * @author gedl
 *
 */

public interface IMethodChainAssociation
{
    /**
     * Accesses the service for this association
     * @return IServiceDefinition the service definition
     */

    public abstract IServiceDefinition getServiceDefinition();
    /**
     * Sets the service definition for this association
     * @param serviceDefinition the service definition to set
     */

    public abstract void setServiceDefinition(IServiceDefinition serviceDefinition);
    /**
     * Asseccess the chain for this association
     * @return IFilterChain the chain definition
     */

    public abstract IFilterChain getChainDefinition();
    /**
     * Sets the chain definition for this association
     * @param chainDefinition the chain definition to set
     */

    public abstract void setChainDefinition(IFilterChain chainDefinition);
    /**
     * Accesses the method that will be filtered
     * @return Strint the name of the method to be filtered
     */

    public abstract 1.5.0/docs/api/java/lang/String.html">String getMethod();
    /**
     * Sets the name of the method that will be filtered
     * @param method the method to filter
     */

    public abstract void setMethod(1.5.0/docs/api/java/lang/String.html">String method);
}