org.usergrid.websocket
Class WebSocketServer
java.lang.Object
org.usergrid.websocket.WebSocketServer
public class WebSocketServer
- extends Object
An HTTP server which serves Web Socket requests at:
http://localhost:8080/websocket
Open your browser at http://localhost:8080/, then the demo page will be
loaded and a Web Socket connection will be made automatically.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebSocketServer
public WebSocketServer()
main
public static void main(String[] args)
throws Exception
- Throws:
Exception
setEntityManagerFactory
@Autowired
public void setEntityManagerFactory(EntityManagerFactory emf)
setServiceManagerFactory
@Autowired
public void setServiceManagerFactory(ServiceManagerFactory smf)
setManagementService
@Autowired
public void setManagementService(ManagementService management)
setSsl
public void setSsl(boolean ssl)
setRealm
@Autowired
public void setRealm(org.apache.shiro.realm.Realm realm)
getProperties
public Properties getProperties()
setProperties
@Autowired
public void setProperties(Properties properties)
getApplicationContextLocations
public String[] getApplicationContextLocations()
startSpring
public void startSpring()
startServer
public void startServer()
stopServer
public void stopServer()
Copyright © 2013. All Rights Reserved.