|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.fzj.unicore.wsrflite.Kernel
public class Kernel
Central class of WSRFlite, serves for lookup
of components, services, and properties
Main class for WSRFlite standalone use
| Method Summary | |
|---|---|
String |
createServiceInstance(String serviceName,
Map<String,Object> initParameters)
convenience method to create a new WSRF instance of a certain service |
static Kernel |
getKernel()
|
static IMessaging |
getMessaging()
get access to the message system |
List<de.fzj.unicore.metrix.IMetric<?>> |
getMonitorMetrics()
get the list of metrics to be published by the admin service |
String |
getPerServiceProperty(String key,
String serviceName,
String defaultValue)
get a property that is defined per service. |
String |
getProperty(String key)
|
String |
getProperty(String key,
String defaultValue)
|
ISecurityProperties |
getSecurityProperties()
retrieve the security properties |
Home |
getServiceHome(String name)
|
static void |
main(String[] args)
Use this when running WSRFlite as a standalone server. |
void |
registerMonitorMetric(String name)
add a metric to the list of metrics that are published by the admin service |
void |
setProperty(String key,
String value)
|
void |
setSecurityProperties(ISecurityProperties securityProperties)
set the security properties on this kernel |
void |
shutdown()
shutdown all services in a clean manner |
static String |
validateField(String key,
String defaultValue)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String VERSION
public static final String WSRF_BASEURL
public static final String WSRF_CONFIG
public static final String WSRF_CONFIG_DEFAULT
public static final String WSRF_HOST
public static final String WSRF_PORT
public static final String WSRF_SERVLETPATH
public static final String WSRF_SGENTRY_TERMINATION_TIME
public static final String WSRF_SSL
public static final String WSRF_SSL_CLIENTAUTH
public static final String WSRF_SSL_TRUSTSTORE
public static final String WSRF_SSL_TRUSTSTORE_PASS
public static final String WSRF_SSL_KEYSTORE
public static final String WSRF_SSL_KEYSTORE_PASS
public static final String WSRF_SSL_KEYTYPE
public static final String WSRF_SSL_KEYALIAS
public static final String WSRF_PERSISTENCE_BACKEND
public static final String WSRF_PERSISTENCE_STORAGEDIR
public static final String WSRF_DEPLOYMENT_SERVICE_JARS_DIR
public static final String WSRF_DEPLOYMENT_SERVICE_JARS_DIR_DEFAULT
public static final String WSRF_DEPLOYMENT_SERVICE_JARS_ON_STARTUP
public static final String WSRF_DEPLOYMENT_SERVICE_JARS_ON_STARTUP_DEFAULT
public static final String WSRF_DEPLOYMENT_DYNAMIC_AUTOMATIC
public static final String WSRF_DEPLOYMENT_DYNAMIC_AUTOMATIC_DEFAULT
public static final String WSRF_DEPLOYMENT_DYNAMIC_AUTOMATIC_INTERVAL
public static final String WSRF_DEPLOYMENT_DYNAMIC_AUTOMATIC_INTERVAL_DEFAULT
public static final String WSRF_DEPLOYMENT_DYNAMIC_FROMOUTSIDE
public static final String WSRF_DEPLOYMENT_DYNAMIC_FROMOUTSIDE_DEFAULT
| Method Detail |
|---|
public void shutdown()
public Home getServiceHome(String name)
public String createServiceInstance(String serviceName,
Map<String,Object> initParameters)
throws ResourceNotCreatedException
serviceName - initParameters -
ResourceNotCreatedExceptionpublic static Kernel getKernel()
public void setSecurityProperties(ISecurityProperties securityProperties)
securityProperties - public ISecurityProperties getSecurityProperties()
public String getProperty(String key)
public String getProperty(String key,
String defaultValue)
public void setProperty(String key,
String value)
public String getPerServiceProperty(String key,
String serviceName,
String defaultValue)
key - - the property keyserviceName - - the service namedefaultValue - - the value to return if no matching property can be found
public static IMessaging getMessaging()
throws MessagingException
MessagingException
public static void main(String[] args)
throws Exception
args - First arg is the name of the config file
Exception
public static String validateField(String key,
String defaultValue)
public List<de.fzj.unicore.metrix.IMetric<?>> getMonitorMetrics()
public void registerMonitorMetric(String name)
name - - the name of the metric to be publishedMonitorEntriesRP
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||