Subversion Repositories bacoAlunos

Rev

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

/*
 * Created on Apr 1, 2004
 *
 * by gedl
 */

package pt.utl.ist.berserk.storage.digester;

import pt.utl.ist.berserk.logic.filterManager.IFilterChain;
import pt.utl.ist.berserk.logic.serviceManager.IMethodChainAssociation;
import pt.utl.ist.berserk.logic.serviceManager.MethodChainAssociation;
import pt.utl.ist.berserk.storage.FilterChainProxy;

/**
 * Created on Apr 1, 2004
 * An implementation of <code>IMethodChainAssociation<code> that contains a proxy for the
 * filter chain instead of a real instance.
 * @author gedl
 *
 */

public class MethodChainAssociationProxy extends MethodChainAssociation implements IMethodChainAssociation
{
    private 1.5.0/docs/api/java/lang/String.html">String name; // the chain's name
   
    public void setName(1.5.0/docs/api/java/lang/String.html">String chainName)
    {        
        this.name = chainName;
        IFilterChain proxy = new FilterChainProxy();
        proxy.setName(chainName);
        this.setChainDefinition(proxy);
    }
   
    public 1.5.0/docs/api/java/lang/String.html">String getName()
    {
        return this.name;
    }
}