public class StandaloneHelper
extends java.lang.Object
Constructor and Description |
---|
StandaloneHelper() |
Modifier and Type | Method and Description |
---|---|
static Standalone |
create(java.lang.Class<? extends Standalone> standaloneClass) |
static javax.net.ssl.SSLContext |
createSSLContext(java.net.URI keystoreUri,
char[] keystorePassword,
java.net.URI truststoreUri,
char[] truststorePassword) |
static int |
findAvailablePort(int min,
int max) |
static java.security.KeyStore |
loadKeyStore(java.net.URI uri,
char[] password) |
static java.io.InputStream |
openKeyStoreInput(java.net.URI uri) |
static java.lang.Class<? extends Standalone> |
resolveStandaloneClass()
Resolves which standalone class to use.
|
public static int findAvailablePort(int min, int max)
public static java.lang.Class<? extends Standalone> resolveStandaloneClass()
public static Standalone create(java.lang.Class<? extends Standalone> standaloneClass)
public static java.io.InputStream openKeyStoreInput(java.net.URI uri) throws java.io.IOException
java.io.IOException
public static java.security.KeyStore loadKeyStore(java.net.URI uri, char[] password) throws java.lang.Exception
java.lang.Exception
public static javax.net.ssl.SSLContext createSSLContext(java.net.URI keystoreUri, char[] keystorePassword, java.net.URI truststoreUri, char[] truststorePassword) throws java.lang.Exception
java.lang.Exception
Copyright © 2016 ninjaframework. All Rights Reserved.