|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.restlet.Uniform
org.restlet.Restlet
org.restlet.Application
org.opentox.OpenToxApplication
public class OpenToxApplication
Initial Implementation of the OpenTox Restful WebServices.
Copyright © 2009, OpenTox http://www.opentox.org/ http://opentox.ntua.gr:3000/
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Field Summary | |
---|---|
static InHouseDB |
dbcon
Connection to the Models' database. |
static java.util.concurrent.ExecutorService |
executor
|
static OpenToxApplication |
INSTANCE
|
private static OpenToxApplication |
instanceOfThis
|
static java.util.logging.Logger |
opentoxLogger
Server logs. |
private static long |
serialVersionUID
|
private static int |
THREADS
|
Constructor Summary | |
---|---|
private |
OpenToxApplication()
Constructor. |
Method Summary | |
---|---|
org.restlet.Restlet |
createRoot()
Creates a root Restlet that will receive all incoming calls. |
private static OpenToxApplication |
getInstance()
|
Methods inherited from class org.restlet.Application |
---|
findRole, getAuthor, getConnectorService, getConverterService, getCurrent, getDecoderService, getDescription, getFinderClass, getMetadataService, getName, getOwner, getRangeService, getRoles, getRoot, getService, getServices, getStatusService, getTaskService, getTunnelService, handle, setAuthor, setConnectorService, setConverterService, setCurrent, setDecoderService, setDescription, setFinderClass, setMetadataService, setName, setOwner, setRangeService, setRoles, setRoot, setRoot, setService, setServices, setStatusService, setTaskService, setTunnelService, start, stop |
Methods inherited from class org.restlet.Restlet |
---|
getApplication, getContext, getLogger, isStarted, isStopped, setContext |
Methods inherited from class org.restlet.Uniform |
---|
delete, delete, get, get, handle, head, head, options, options, post, post, put, put |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final long serialVersionUID
public static InHouseDB dbcon
public static java.util.logging.Logger opentoxLogger
public static java.util.concurrent.ExecutorService executor
private static final int THREADS
private static OpenToxApplication instanceOfThis
public static final OpenToxApplication INSTANCE
Constructor Detail |
---|
private OpenToxApplication() throws java.io.IOException
java.io.IOException
Method Detail |
---|
private static OpenToxApplication getInstance()
public final org.restlet.Restlet createRoot()
Brief list of services:
createRoot
in class org.restlet.Application
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |