public class CloudStoreServer extends Object implements Runnable
Modifier and Type | Field and Description |
---|---|
static String |
CONFIG_KEY_SECURE_PORT |
Constructor and Description |
---|
CloudStoreServer(String... args) |
Modifier and Type | Method and Description |
---|---|
protected static CloudStoreServer |
createCloudStoreServer(String[] args) |
protected LocalServer |
createLocalServer() |
protected org.glassfish.jersey.server.ResourceConfig |
createResourceConfig()
Creates the actual REST application.
|
protected org.eclipse.jetty.server.Server |
createServer() |
protected CloudStoreUpdaterTimer |
createUpdaterTimer() |
protected static Class<? extends CloudStoreServer> |
getCloudStoreServerClass() |
protected static Constructor<? extends CloudStoreServer> |
getCloudStoreServerConstructor() |
File |
getKeyStoreFile() |
int |
getSecurePort() |
static void |
main(String[] args) |
void |
run() |
protected static void |
setCloudStoreServerClass(Class<? extends CloudStoreServer> cloudStoreServerClass) |
void |
setKeyStoreFile(File keyStoreFile) |
void |
setSecurePort(int securePort) |
void |
stop() |
public static final String CONFIG_KEY_SECURE_PORT
public CloudStoreServer(String... args)
protected static Constructor<? extends CloudStoreServer> getCloudStoreServerConstructor() throws NoSuchMethodException, SecurityException
protected static CloudStoreServer createCloudStoreServer(String[] args) throws NoSuchMethodException, SecurityException, InstantiationException, IllegalAccessException, IllegalArgumentException, InvocationTargetException
protected static Class<? extends CloudStoreServer> getCloudStoreServerClass()
protected static void setCloudStoreServerClass(Class<? extends CloudStoreServer> cloudStoreServerClass)
protected CloudStoreUpdaterTimer createUpdaterTimer()
protected LocalServer createLocalServer()
public void stop()
public File getKeyStoreFile()
public void setKeyStoreFile(File keyStoreFile)
public int getSecurePort()
public void setSecurePort(int securePort)
protected org.eclipse.jetty.server.Server createServer()
protected org.glassfish.jersey.server.ResourceConfig createResourceConfig()
null
.Copyright © 2013–2019. All rights reserved.