lumis.portal.device
Class DummyDeviceManager

Package class diagram package DummyDeviceManager
java.lang.Object
  extended by lumis.portal.device.DummyDeviceManager
All Implemented Interfaces:
IDeviceManager

public class DummyDeviceManager
extends Object
implements IDeviceManager

A device manager implementation that does not performs any detection, always returning a dummy device that has no capability.

Since:
6.2.0

Constructor Summary
DummyDeviceManager()
           
 
Method Summary
 IDevice discoverDevice(HttpServletRequest request)
          Detects the device from the request and returns its capabilities.
 IDevice discoverDevice(String userAgent)
          Returns one Device according with the lumUserAgent informed on parameter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DummyDeviceManager

public DummyDeviceManager()
Method Detail

discoverDevice

public IDevice discoverDevice(HttpServletRequest request)
Description copied from interface: IDeviceManager
Detects the device from the request and returns its capabilities.

Specified by:
discoverDevice in interface IDeviceManager
Parameters:
request - the http request.
Returns:
the device informations.

discoverDevice

public IDevice discoverDevice(String userAgent)
Description copied from interface: IDeviceManager
Returns one Device according with the lumUserAgent informed on parameter.

Specified by:
discoverDevice in interface IDeviceManager
Parameters:
userAgent - the user agent of the device.
Returns:
the device informations.


Lumisportal  6.2.0.120405 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.