Package org.opensextant.xlayer.server
Class XlayerApp
java.lang.Object
org.restlet.Restlet
org.restlet.Application
org.opensextant.xlayer.server.XlayerApp
- All Implemented Interfaces:
org.restlet.Uniform
- Direct Known Subclasses:
XlayerRestlet
public abstract class XlayerApp
extends org.restlet.Application
XlayerApp is an abstract "Webapp" running inside the Server.... well, you
must implement one
first.
- Author:
- ubaldino
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidbanner()Banner at start improves visibility of your product.abstract voidabstract org.restlet.Restletprotected voidprotected voidstatic StringgetVersion(String buf) protected voidprotected booleanisDebug()Methods inherited from class org.restlet.Application
createOutboundRoot, getConnectorService, getConnegService, getConverterService, getCurrent, getDecoderService, getEncoderService, getInboundRoot, getMetadataService, getOutboundRoot, getRangeService, getRole, getRoles, getServices, getStatusService, getTaskService, getTunnelService, handle, isDebugging, setConnectorService, setConnegService, setContext, setConverterService, setCurrent, setDebugging, setDecoderService, setEncoderService, setInboundRoot, setInboundRoot, setMetadataService, setOutboundRoot, setOutboundRoot, setRangeService, setRoles, setStatusService, setTaskService, setTunnelService, start, stopMethods inherited from class org.restlet.Restlet
createFinder, finalize, getApplication, getAuthor, getContext, getDescription, getFinderClass, getLogger, getName, getOwner, handle, handle, handle, isStarted, isStopped, setAuthor, setDescription, setFinderClass, setName, setOwner
-
Field Details
-
log
The log. -
version
-
-
Constructor Details
-
XlayerApp
protected XlayerApp(org.restlet.Context c)
-
-
Method Details
-
getVersion
-
banner
Banner at start improves visibility of your product.- Throws:
IOException
-
error
-
info
-
debug
-
isDebug
protected boolean isDebug() -
createInboundRoot
public abstract org.restlet.Restlet createInboundRoot()- Overrides:
createInboundRootin classorg.restlet.Application
-
configure
public abstract void configure() throws org.opensextant.ConfigException- Throws:
org.opensextant.ConfigException
-