Package org.umlg.runtime.restlet
Class UmlgRestletApplication
- java.lang.Object
-
- org.restlet.Restlet
-
- org.restlet.Application
-
- org.umlg.runtime.restlet.UmlgRestletApplication
-
- All Implemented Interfaces:
org.restlet.Uniform
public abstract class UmlgRestletApplication extends org.restlet.ApplicationDate: 2014/01/15 Time: 4:14 PM
-
-
Constructor Summary
Constructors Constructor Description UmlgRestletApplication()default constructor for RestAndJsonApplication
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract voidattachAll(org.restlet.routing.Router router)Override this method to attach the application's resources to the routerorg.restlet.RestletcreateInboundRoot()protected abstract StringgetModelFileName()Return the file name of the uml model.protected voidinit()-
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, stop
-
-
-
-
Method Detail
-
createInboundRoot
public org.restlet.Restlet createInboundRoot()
- Overrides:
createInboundRootin classorg.restlet.Application
-
attachAll
protected abstract void attachAll(org.restlet.routing.Router router)
Override this method to attach the application's resources to the router- Parameters:
router- The router that the application resources will be attached to.
-
getModelFileName
protected abstract String getModelFileName()
Return the file name of the uml model. i.e. somethingModel.uml It must be on the classpath and will be loaded via the ClassLoader- Returns:
- A string representing the model's file name.
-
init
protected void init()
-
-