public class Server extends Object implements org.springframework.context.ApplicationContextAware
Modifier and Type | Field and Description |
---|---|
protected EntityManagerFactory |
emf |
static boolean |
INSTALL_JSP_SERVLETS |
static Server |
instance |
protected ManagementService |
management |
protected Properties |
properties |
protected QueueManagerFactory |
qmf |
protected ServiceManagerFactory |
smf |
Constructor and Description |
---|
Server() |
public static final boolean INSTALL_JSP_SERVLETS
public static Server instance
protected EntityManagerFactory emf
protected ServiceManagerFactory smf
protected ManagementService management
protected Properties properties
protected QueueManagerFactory qmf
public static void main(String[] args)
public static Server getInstance()
public void startServerFromCommandLine(String[] args)
public void startServer()
public void stopServer()
public void setDaemon(boolean daemon)
public boolean isRunning()
public void printCliHelp(String message)
public org.apache.commons.cli.Options createOptions()
public void startCassandra()
public void stopCassandra()
public EntityManagerFactory getEntityManagerFactory()
@Autowired public void setEntityManagerFactory(EntityManagerFactory emf)
public ServiceManagerFactory getServiceManagerFactory()
@Autowired public void setServiceManagerFactory(ServiceManagerFactory smf)
public ManagementService getManagementService()
@Autowired public void setManagementService(ManagementService management)
public Properties getProperties()
@Autowired public void setProperties(Properties properties)
public QueueManagerFactory getQueueManagerFactory()
@Autowired public void setQueueManagerFactory(QueueManagerFactory qmf)
public boolean isInitializeDatabaseOnStart()
public void setInitializeDatabaseOnStart(boolean initializeDatabaseOnStart)
public boolean isStartDatabaseWithServer()
public void setStartDatabaseWithServer(boolean startDatabaseWithServer)
public void springInit()
public void setApplicationContext(org.springframework.context.ApplicationContext ctx) throws org.springframework.beans.BeansException
setApplicationContext
in interface org.springframework.context.ApplicationContextAware
org.springframework.beans.BeansException
Copyright © 2013. All Rights Reserved.