de.tsl2.nano.h5.plugin.INanoPlugin Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tsl2.nano.h5 Show documentation
Show all versions of tsl2.nano.h5 Show documentation
TSL2 Framework Html5 Extensions (WebServer, Html5Presentation, RuleCover, BeanConfigurator, LogicTable-Sheet, Expression-Descriptors for Actions, Rules, URLs, Queries)
package de.tsl2.nano.h5.plugin;
import java.nio.ByteBuffer;
import java.util.Map;
import java.util.SortedMap;
import org.java_websocket.WebSocket;
import de.tsl2.nano.action.IAction;
import de.tsl2.nano.bean.def.BeanDefinition;
import de.tsl2.nano.bean.def.IPageBuilder;
import de.tsl2.nano.h5.NanoH5Session;
import de.tsl2.nano.h5.NanoHTTPD.Method;
import de.tsl2.nano.h5.NanoHTTPD.Response;
import de.tsl2.nano.h5.navigation.IBeanNavigator;
import de.tsl2.nano.persistence.Persistence;
import de.tsl2.nano.plugin.Plugin;
import de.tsl2.nano.serviceaccess.IAuthorization;
/**
* NanoH5 Plugin interface to define an own NanoH5 Application through callbacks invoked on most important entry
* points. All classpath-implmenetations of this interface will be found by the framework and will be invoked on the
* instruction points.
*
* At least one implementation should have a main function calling
*
*
* Main.startApplication(NanoH5.class, null, args);
*
*
* Each method will be called with parameters, pre-filled and provided by the framework.
*
* To enhance the the Html-Output, see {@link IDOMDecorator}.
*
* @author Tom, Thomas Schneider
* @version $Revision$
*/
public interface INanoPlugin extends Plugin {
/**
* change the default properties of the application. see 'environment.xml' for a list of all keys and their defaults
*/
void configuration(SortedMap