FileDocCategorySizeDatePackage
ServiceFactoryPlugin.javaAPI DocExample771Mon Aug 23 16:37:40 BST 2004com.oreilly.strutsckbk.ch10

ServiceFactoryPlugin

public class ServiceFactoryPlugin extends Object implements org.apache.struts.action.PlugIn

Fields Summary
private String
securityService
Constructors Summary
Methods Summary
public voiddestroy()

    
public voidinit(org.apache.struts.action.ActionServlet servlet, org.apache.struts.config.ModuleConfig config)

        ServiceFactory factory = new ServiceFactory();
        factory.setSecurityServiceImpl(securityService);
        servlet.getServletContext().setAttribute("APP_SERVICE_FACTORY", factory);
    
public voidsetSecurityService(java.lang.String securityService)

        this.securityService = securityService;