org.apache.pluto.om.servlet
Interface ServletDefinitionListCtrl

All Superinterfaces:
Controller

public interface ServletDefinitionListCtrl
extends Controller

The ServletDefinitionSetCtrl interface ...

This interface defines the controller as known from the MVC pattern. Its purpose is to provide write access to the data stored in the model.


Method Summary
 ServletDefinition add(java.lang.String name, java.lang.String className)
          Creates a new servlet definition and adds it to the set
 void remove(ServletDefinition servletDefinition)
          Removes the given servlet definition from the set
 ServletDefinition remove(java.lang.String name)
          Removes the servlet definition with the given name from the set
 

Method Detail

add

public ServletDefinition add(java.lang.String name,
                             java.lang.String className)
Creates a new servlet definition and adds it to the set

Parameters:
name - the name of the new servlet definition
className - the classname of the new servlet definition
Returns:
the new servlet definition

remove

public ServletDefinition remove(java.lang.String name)
Removes the servlet definition with the given name from the set

Parameters:
name - the name of the servlet definition to be removed
Returns:
the removed servlet definition

remove

public void remove(ServletDefinition servletDefinition)
Removes the given servlet definition from the set

Parameters:
servletDefinition - the servlet definition to be removed


Copyright © 2003-2006 . All Rights Reserved.