Class UmlgRestletApplication

  • All Implemented Interfaces:
    org.restlet.Uniform

    public abstract class UmlgRestletApplication
    extends org.restlet.Application
    Date: 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 void attachAll​(org.restlet.routing.Router router)
      Override this method to attach the application's resources to the router
      org.restlet.Restlet createInboundRoot()  
      protected abstract String getModelFileName()
      Return the file name of the uml model.
      protected void init()  
      • 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
      • Methods 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
    • Constructor Detail

      • UmlgRestletApplication

        public UmlgRestletApplication()
        default constructor for RestAndJsonApplication
    • Method Detail

      • createInboundRoot

        public org.restlet.Restlet createInboundRoot()
        Overrides:
        createInboundRoot in class org.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()