All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.contextfw.web.application.internal.service.WebApplication Maven / Gradle / Ivy

package net.contextfw.web.application.internal.service;

import java.util.List;

import net.contextfw.web.application.WebApplicationException;
import net.contextfw.web.application.component.Component;

import com.google.inject.ImplementedBy;

@ImplementedBy(WebApplicationImpl.class)
public interface WebApplication {

    /**
     * This is called when page is shown for the first time
     * 
     * @throws ContextServiceException
     */
    public void initState() throws WebApplicationException;

    /**
     * 
     * @return
     *      true, if web application should be removed
     */
    public boolean sendResponse();

    /**
     * This is called when page is updated
     * 
     * @throws ContextServiceException
     */
    public UpdateInvocation updateState(boolean updateComponents, String componentId, String method) throws WebApplicationException;
    
    public void setInitializerChain(List> chain);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy