restgroupsServer
Class RestGroupsApplication

java.lang.Object
  extended by org.restlet.Restlet
      extended by org.restlet.Application
          extended by restgroupsServer.RestGroupsApplication
All Implemented Interfaces:
org.restlet.Uniform

public class RestGroupsApplication
extends org.restlet.Application

The root class for the RESTlet server. Here the main request dispatcher is created, and hash-tables containing information about connected to the RestGroups server users are hold.

Author:
tkob

Constructor Summary
RestGroupsApplication()
           
 
Method Summary
 org.restlet.Restlet createInboundRoot()
          Creates the main request dispatcher.
 java.util.concurrent.ConcurrentMap<java.lang.String,ProfileEntity> getProfileEntities()
          Returns profileEntities hash-map.
 java.util.concurrent.ConcurrentMap<java.lang.Long,ProfileEntity> getProfileEntitiesThreadIDs()
          Returns profileEntitiesThreadIDs hash-map.
 java.util.concurrent.ConcurrentMap<java.lang.String,ProfilesPilotEntity> getProfilesPilotEntities()
          Returns profilesPilotEntities hash-map.
 void printProfileEntities()
          Prints out content of the profileEntities hash-table.
 void printProfilesPilotEntities()
          Prints out content of the profilesPilotEntities hash-table.
 
Methods inherited from class org.restlet.Application
createOutboundRoot, createRoot, getConnectorService, getConverterService, getCurrent, getDecoderService, getFinderClass, getInboundRoot, getMetadataService, getOutboundRoot, getRangeService, getRole, getRoles, getRoot, getService, getServices, getStatusService, getTaskService, getTunnelService, handle, setClientRoot, setConnectorService, setConverterService, setCurrent, setDecoderService, setFinderClass, setInboundRoot, setInboundRoot, setMetadataService, setOutboundRoot, setRangeService, setRoles, setRoot, setRoot, setService, setServices, setStatusService, setTaskService, setTunnelService, start, stop
 
Methods inherited from class org.restlet.Restlet
getApplication, getAuthor, getContext, getDescription, getLogger, getName, getOwner, isStarted, isStopped, setAuthor, setContext, setDescription, setName, setOwner
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RestGroupsApplication

public RestGroupsApplication()
Method Detail

createInboundRoot

public org.restlet.Restlet createInboundRoot()
Creates the main request dispatcher.

Overrides:
createInboundRoot in class org.restlet.Application

getProfilesPilotEntities

public java.util.concurrent.ConcurrentMap<java.lang.String,ProfilesPilotEntity> getProfilesPilotEntities()
Returns profilesPilotEntities hash-map.

Returns:
profilePilotEntities hash-map

getProfileEntities

public java.util.concurrent.ConcurrentMap<java.lang.String,ProfileEntity> getProfileEntities()
Returns profileEntities hash-map.

Returns:
profileEntities hash-map

getProfileEntitiesThreadIDs

public java.util.concurrent.ConcurrentMap<java.lang.Long,ProfileEntity> getProfileEntitiesThreadIDs()
Returns profileEntitiesThreadIDs hash-map.

Returns:
profileEntitiesThreadIDs hash-map

printProfilesPilotEntities

public void printProfilesPilotEntities()
Prints out content of the profilesPilotEntities hash-table. For debugging purposes.


printProfileEntities

public void printProfileEntities()
Prints out content of the profileEntities hash-table. For debugging purposes.