public abstract class _IConfigDisp extends Ice.ObjectImpl implements IConfig
Modifier and Type | Field and Description |
---|---|
static java.lang.String[] |
__ids |
static long |
serialVersionUID |
ice_staticId
Constructor and Description |
---|
_IConfigDisp() |
Modifier and Type | Method and Description |
---|---|
static Ice.DispatchStatus |
___getClientConfigDefaults(IConfig __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___getClientConfigValues(IConfig __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___getConfigDefaults(IConfig __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___getConfigValue(IConfig __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___getConfigValues(IConfig __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___getDatabaseTime(IConfig __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___getDatabaseUuid(IConfig __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___getServerTime(IConfig __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___getVersion(IConfig __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___setConfigValue(IConfig __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___setConfigValueIfEquals(IConfig __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
Ice.DispatchStatus |
__dispatch(IceInternal.Incoming in,
Ice.Current __current) |
protected void |
__readImpl(IceInternal.BasicStream __is) |
protected void |
__writeImpl(IceInternal.BasicStream __os) |
void |
getClientConfigDefaults_async(AMD_IConfig_getClientConfigDefaults __cb)
Reads the etc/omero.properties file and returns all the
key/value pairs that are found there which match the prefix
omero.client.
|
void |
getClientConfigValues_async(AMD_IConfig_getClientConfigValues __cb)
Retrieves configuration values like
getConfigValues
but only those with the prefix omero.client. |
void |
getConfigDefaults_async(AMD_IConfig_getConfigDefaults __cb)
Reads the etc/omero.properties file and returns all the
key/value pairs that are found there.
|
void |
getConfigValue_async(AMD_IConfig_getConfigValue __cb,
java.lang.String key)
Retrieves a configuration value from the backend store.
|
void |
getConfigValues_async(AMD_IConfig_getConfigValues __cb,
java.lang.String keyRegex)
Retrieves configuration values from the backend store which
match the given regex.
|
void |
getDatabaseTime_async(AMD_IConfig_getDatabaseTime __cb)
Checks the database for its time using a SELECT statement.
|
void |
getDatabaseUuid_async(AMD_IConfig_getDatabaseUuid __cb)
Provides the UUID for this OMERO (database) instance.
|
void |
getServerTime_async(AMD_IConfig_getServerTime __cb)
Checks the current server for its time.
|
void |
getVersion_async(AMD_IConfig_getVersion __cb)
Provides the release version.
|
protected void |
ice_copyStateFrom(Ice.Object __obj) |
java.lang.String |
ice_id() |
java.lang.String |
ice_id(Ice.Current __current) |
java.lang.String[] |
ice_ids() |
java.lang.String[] |
ice_ids(Ice.Current __current) |
boolean |
ice_isA(java.lang.String s) |
boolean |
ice_isA(java.lang.String s,
Ice.Current __current) |
static java.lang.String |
ice_staticId() |
void |
setConfigValue_async(AMD_IConfig_setConfigValue __cb,
java.lang.String key,
java.lang.String value)
Sets a configuration value in the backend store.
|
void |
setConfigValueIfEquals_async(AMD_IConfig_setConfigValueIfEquals __cb,
java.lang.String key,
java.lang.String value,
java.lang.String test)
Calls
setConfigValue if and only if the
configuration property is currently equal to the test
argument. |
___ice_id, ___ice_ids, ___ice_isA, ___ice_ping, __checkMode, __read, __read, __readImpl, __write, __write, __writeImpl, clone, ice_dispatch, ice_dispatch, ice_operationAttributes, ice_ping, ice_ping, ice_postUnmarshal, ice_preMarshal
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getClientConfigDefaults_async, getClientConfigValues_async, getConfigDefaults_async, getConfigValue_async, getConfigValues_async, getDatabaseTime_async, getDatabaseUuid_async, getServerTime_async, getVersion_async, setConfigValue_async, setConfigValueIfEquals_async
public static final java.lang.String[] __ids
public static final long serialVersionUID
protected void ice_copyStateFrom(Ice.Object __obj) throws java.lang.CloneNotSupportedException
java.lang.CloneNotSupportedException
public boolean ice_isA(java.lang.String s)
ice_isA
in interface Ice.Object
ice_isA
in class Ice.ObjectImpl
public boolean ice_isA(java.lang.String s, Ice.Current __current)
ice_isA
in interface Ice.Object
ice_isA
in class Ice.ObjectImpl
public java.lang.String[] ice_ids()
ice_ids
in interface Ice.Object
ice_ids
in class Ice.ObjectImpl
public java.lang.String[] ice_ids(Ice.Current __current)
ice_ids
in interface Ice.Object
ice_ids
in class Ice.ObjectImpl
public java.lang.String ice_id()
ice_id
in interface Ice.Object
ice_id
in class Ice.ObjectImpl
public java.lang.String ice_id(Ice.Current __current)
ice_id
in interface Ice.Object
ice_id
in class Ice.ObjectImpl
public static java.lang.String ice_staticId()
public final void getClientConfigDefaults_async(AMD_IConfig_getClientConfigDefaults __cb) throws ServerError
getClientConfigDefaults_async
in interface _IConfigOperationsNC
__cb
- The callback object for the operation.ServerError
public final void getClientConfigValues_async(AMD_IConfig_getClientConfigValues __cb) throws ServerError
getConfigValues
but only those with the prefix omero.client.getClientConfigValues_async
in interface _IConfigOperationsNC
__cb
- The callback object for the operation.ServerError
public final void getConfigDefaults_async(AMD_IConfig_getConfigDefaults __cb) throws ServerError
getConfigDefaults_async
in interface _IConfigOperationsNC
__cb
- The callback object for the operation.ServerError
public final void getConfigValue_async(AMD_IConfig_getConfigValue __cb, java.lang.String key) throws ServerError
SecurityViolation
to be thrown.getConfigValue_async
in interface _IConfigOperationsNC
__cb
- The callback object for the operation.key
- The non-null name of the desired configuration
valueApiUsageException
- if the key is null or invalid.SecurityViolation
- if the value for the key is not
readable.ServerError
public final void getConfigValues_async(AMD_IConfig_getConfigValues __cb, java.lang.String keyRegex) throws ServerError
getConfigValues_async
in interface _IConfigOperationsNC
__cb
- The callback object for the operation.keyRegex
- The non-null regex of the desired
configuration valuesServerError
public final void getDatabaseTime_async(AMD_IConfig_getDatabaseTime __cb) throws ServerError
getDatabaseTime_async
in interface _IConfigOperationsNC
__cb
- The callback object for the operation.InternalException
- though any call can throw an
InternalException it is more likely that this can
occur while contacting the DB. An exception here
most likely means (A) a temporary issue with the DB
or (B) a SQL dialect issue which must be corrected
by the Omero team.ServerError
public final void getDatabaseUuid_async(AMD_IConfig_getDatabaseUuid __cb) throws ServerError
getDatabaseUuid_async
in interface _IConfigOperationsNC
__cb
- The callback object for the operation.ServerError
public final void getServerTime_async(AMD_IConfig_getServerTime __cb) throws ServerError
getServerTime_async
in interface _IConfigOperationsNC
__cb
- The callback object for the operation.ServerError
public final void getVersion_async(AMD_IConfig_getVersion __cb) throws ServerError
getVersion
getVersion_async
in interface _IConfigOperationsNC
__cb
- The callback object for the operation.ServerError
public final void setConfigValue_async(AMD_IConfig_setConfigValue __cb, java.lang.String key, java.lang.String value) throws ServerError
SecurityViolation
to be thrown. If the value is
null or empty, then the configuration will be removed in
all writable configuration sources. If the configuration is
set in a non-modifiable source (e.g. in a property file on
the classpath), then a subsequent call to
getConfigValue
will return that value.setConfigValue_async
in interface _IConfigOperationsNC
__cb
- The callback object for the operation.key
- The non-null name of the desired configuration
valuevalue
- The string value to assign to the given key.ApiUsageException
- if the key is null or invalid.SecurityViolation
- if the value is not writable.ServerError
public final void setConfigValueIfEquals_async(AMD_IConfig_setConfigValueIfEquals __cb, java.lang.String key, java.lang.String value, java.lang.String test) throws ServerError
setConfigValue
if and only if the
configuration property is currently equal to the test
argument. If the test is null or empty, then the
configuration property will be set only if missing.setConfigValueIfEquals_async
in interface _IConfigOperationsNC
__cb
- The callback object for the operation.key
- ApiUsageException
SecurityViolation
ServerError
public static Ice.DispatchStatus ___getVersion(IConfig __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___getConfigValue(IConfig __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___getConfigValues(IConfig __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___getConfigDefaults(IConfig __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___getClientConfigValues(IConfig __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___getClientConfigDefaults(IConfig __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___setConfigValue(IConfig __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___setConfigValueIfEquals(IConfig __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___getDatabaseUuid(IConfig __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___getDatabaseTime(IConfig __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___getServerTime(IConfig __obj, IceInternal.Incoming __inS, Ice.Current __current)
public Ice.DispatchStatus __dispatch(IceInternal.Incoming in, Ice.Current __current)
__dispatch
in interface Ice.Object
__dispatch
in class Ice.ObjectImpl
protected void __writeImpl(IceInternal.BasicStream __os)
__writeImpl
in class Ice.ObjectImpl
protected void __readImpl(IceInternal.BasicStream __is)
__readImpl
in class Ice.ObjectImpl