|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.fzj.unicore.uas.UAS
public class UAS
main class, intended to run the UAS as a set of standalone services, including a target system factory, job management etc. It is based on the WSRFlite hosting environment, and uses the XNJS as back-end execution engine.
| Field Summary | |
|---|---|
static java.lang.String |
AUTOREGISTER_WITH_GATEWAY_KEY
Enable registration with a gateway |
static java.lang.String |
AUTOREGISTER_WITH_GATEWAY_UPDATE_KEY
update interval for the registration with a gateway in seconds (default = 30 second) |
static java.lang.String |
CUSTOM_SECURITYINHANDLER_KEY
use this to add a custom XFire handler for security |
static java.lang.String |
CUSTOM_SECURITYOUTHANDLER_KEY
|
static java.lang.String |
DISABLE_SECURITY_AND_ACCESS_CONTROL
for unit testing, set this property to "true" to disable security |
static java.lang.String |
DISCOVER_GATEWAY_KEY
Enable multicast discovery of a gateway |
static java.lang.String |
ENUMERATION
|
static java.lang.String |
EXTERNAL_REGISTRY_KEY
|
static java.lang.String |
EXTERNAL_REGISTRY_USE
|
static java.lang.String |
FTS_BASE
you need to add the protocol to this one to get the right service e.g. |
static java.lang.String |
GLOBAL_REGISTRY_ADVERTISE
|
static java.lang.String |
JMS
|
static java.lang.String |
ON_STARTUP_KEY
To override the default UAS startup code, set this to a list of names (space-separated) of classes implementing java.lang.Runnable |
static java.lang.String |
ON_STARTUP_SELFTEST
whether to run a connections check after startup (defaults to "true") |
static java.lang.String |
ON_STARTUP_WAIT_KEY
To enable waiting for the gateway on startup, set this property to 'true' |
static java.lang.String |
ON_STARTUP_WAITTIME_KEY
To enable waiting for the gateway on startup, set this property to the max wait time in seconds default: 120 |
static java.lang.String |
REG
|
static java.lang.String |
REGENTRY
|
static java.lang.String |
REGISTRY_AUTODISCOVER
|
static java.lang.String |
RESERVATIONS
|
static java.lang.String |
SMF
|
static java.lang.String |
SMS
|
static java.lang.String |
SMS_PROTOCOLS
Property defining the protocols supported by the SMS This is a list of String-separated protocols, e.g. |
static java.lang.String |
SMS_TRANSFER_FORCEREMOTE
When doing file transfers, UNICORE tries to detect whether two storage resources are accessing the same filesystem. |
static java.lang.String[] |
soapActionsForDSig
for the atomic services, this is the list of SOAP actions (i.e. methods) where we require a digital signature |
static java.lang.String |
TSF
|
static java.lang.String |
TSF_XNJS_CONFIGFILE
set the name or the XNJS config file |
static java.lang.String |
TSS
|
static java.lang.String |
TSS_DISABLE_HOME_PROPERTY
property defining the vsite name (i.e. default TSS name) |
static java.lang.String |
TSS_FORCE_UNIQUE_STORAGE_IDS
if set to true, the storages attached to a TSS will always have
unique IDs. |
static java.lang.String |
TSS_NAME_PROPERTY
property defining the vsite name (i.e. default TSS name) |
static java.util.Calendar |
upSince
|
static java.lang.String |
VERSION
|
static java.lang.String |
wsrfConfig
|
static java.lang.String |
WSRFLITE_CONFIG
the name of the WSRFlite config file |
| Constructor Summary | |
|---|---|
UAS()
run the uas using default settings |
|
UAS(java.lang.String propertiesFile)
run the UAS reading properties from a file |
|
| Method Summary | |
|---|---|
static void |
addMBean(java.lang.Object mbean,
java.lang.String name)
add a JMX MBean under the given name |
static void |
addObserver(java.util.Observer o)
add an observer to be notified when the property file has changed |
static void |
addSOAPActionsRequiringSignatures(java.lang.String... actions)
add SOAP actions to the special list requiring signed messages |
static boolean |
getBooleanProperty(java.lang.String key)
Retrieve a boolean property |
static boolean |
getBooleanProperty(java.lang.String key,
boolean defaultValue)
Retrieve a boolean property |
static java.lang.String |
getConnectionStatus()
|
static java.lang.String |
getHeader()
|
static de.fzj.unicore.wsrflite.jetty.JettyServer |
getJettyServer()
|
static long |
getLastConfigFileChangeTime()
|
static java.lang.String |
getPerServiceProperty(java.lang.String key,
java.lang.String serviceName,
java.lang.String defaultValue)
get a property that is defined per service. |
static java.util.Properties |
getProperties()
|
static java.lang.String |
getProperty(java.lang.Object key)
|
static java.lang.String |
getProperty(java.lang.Object key,
java.lang.String defaultValue)
get a property. |
static IUASSecurityProperties |
getSecurityProperties()
get the security settings for the server, usually an instance of UASSecurityProperties |
static java.lang.String |
getVersion()
|
static void |
main(java.lang.String[] args)
start the UAS args: optional config file name |
static boolean |
needSignature(java.lang.String soapAction)
|
static void |
removeProperty(java.lang.Object key)
|
static void |
setProperty(java.lang.Object key,
java.lang.Object value)
|
static void |
setSecurityProperties(IUASSecurityProperties sec)
|
void |
start()
starts the UNICORE/X server asynchronously, i.e. this method returns immediately |
void |
startSynchronous()
starts UNICORE/X synchronously, returns only after server is started |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String VERSION
public static final java.lang.String DISABLE_SECURITY_AND_ACCESS_CONTROL
public static final java.lang.String CUSTOM_SECURITYINHANDLER_KEY
public static final java.lang.String CUSTOM_SECURITYOUTHANDLER_KEY
public static final java.lang.String AUTOREGISTER_WITH_GATEWAY_KEY
public static final java.lang.String AUTOREGISTER_WITH_GATEWAY_UPDATE_KEY
public static final java.lang.String DISCOVER_GATEWAY_KEY
public static final java.lang.String ON_STARTUP_KEY
public static final java.lang.String ON_STARTUP_SELFTEST
public static final java.lang.String ON_STARTUP_WAIT_KEY
public static final java.lang.String ON_STARTUP_WAITTIME_KEY
public static final java.lang.String TSS_NAME_PROPERTY
public static final java.lang.String TSS_DISABLE_HOME_PROPERTY
public static final java.lang.String TSS_FORCE_UNIQUE_STORAGE_IDS
true, the storages attached to a TSS will always have
unique IDs. In the default case, storage names will be formed from the user's xlogin
and the storage name, e.g. "a.user-Home".
public static final java.lang.String SMS_PROTOCOLS
public static final java.lang.String SMS_TRANSFER_FORCEREMOTE
public static final java.lang.String WSRFLITE_CONFIG
public static final java.lang.String TSF_XNJS_CONFIGFILE
public static final java.lang.String TSF
public static final java.lang.String TSS
public static final java.lang.String JMS
public static final java.lang.String SMS
public static final java.lang.String SMF
public static final java.lang.String REG
public static final java.lang.String REGENTRY
public static final java.lang.String RESERVATIONS
public static final java.lang.String ENUMERATION
public static final java.lang.String GLOBAL_REGISTRY_ADVERTISE
public static final java.lang.String EXTERNAL_REGISTRY_USE
public static final java.lang.String REGISTRY_AUTODISCOVER
public static final java.lang.String EXTERNAL_REGISTRY_KEY
public static final java.lang.String FTS_BASE
public static final java.lang.String[] soapActionsForDSig
public static final java.util.Calendar upSince
public static final java.lang.String wsrfConfig
| Constructor Detail |
|---|
public UAS()
public UAS(java.lang.String propertiesFile)
throws java.lang.Exception
propertiesFile -
java.lang.Exception| Method Detail |
|---|
public static final java.lang.String getVersion()
public static final java.lang.String getHeader()
public static void addSOAPActionsRequiringSignatures(java.lang.String... actions)
actions - public static boolean needSignature(java.lang.String soapAction)
public static java.util.Properties getProperties()
public static java.lang.String getProperty(java.lang.Object key)
public static boolean getBooleanProperty(java.lang.String key)
key - - the property key
public static boolean getBooleanProperty(java.lang.String key,
boolean defaultValue)
key - - the property keydefaultValue - - the response in case the property is not set
public static java.lang.String getProperty(java.lang.Object key,
java.lang.String defaultValue)
key - defaultValue -
java.lang.NullPointerException - if key is null
public static void setProperty(java.lang.Object key,
java.lang.Object value)
public static void removeProperty(java.lang.Object key)
public static java.lang.String getPerServiceProperty(java.lang.String key,
java.lang.String serviceName,
java.lang.String defaultValue)
key - - the property keyserviceName - - the service namedefaultValue - - the value to return if no matching property can be found
public static void addObserver(java.util.Observer o)
o - - observerpublic static IUASSecurityProperties getSecurityProperties()
UASSecurityProperties
public static void setSecurityProperties(IUASSecurityProperties sec)
public static de.fzj.unicore.wsrflite.jetty.JettyServer getJettyServer()
public static long getLastConfigFileChangeTime()
public static java.lang.String getConnectionStatus()
public static void main(java.lang.String[] args)
throws java.lang.Exception
java.lang.Exception
public static void addMBean(java.lang.Object mbean,
java.lang.String name)
mbean - name -
public void start()
throws java.lang.Exception
java.lang.Exception
public void startSynchronous()
throws java.lang.Exception
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||