|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IConfiguredService
This interface provides access to the configuration information of a service that is running on a server.
Note that this information can be retrieved from the repository by querying
for either the server or the service. A server query must include the SI_HOSTED_SERVICES
property. A service query must include the SI_SERVICE_HOSTS property.
IService,
IServer| Method Summary | |
|---|---|
IActualConfigProperties |
getActualConfigProps()
Returns the configuration properties that are currently being used by the server for this service. |
java.lang.Integer |
getConfigError()
Returns the ID of the error that resulted in the "stopped" or "starting error" state of the service status. |
IConfigProperties |
getConfigProps()
Returns the configuration properties that will be applied to the server for this service. |
java.lang.String |
getCUID()
Returns the CUID of the Service object. |
IServiceDeploymentConfig |
getDeploymentConfig()
For internal use only. |
IIntegerProps |
getEnabledAuditEvents()
Returns the IDs of the enabled audit events. |
IExecProps |
getExecProps()
Returns the command line information that is passed to the service when the server is started. |
IStringProps |
getLocalFiles()
Returns the names of the filesystem files that are used by the service. |
java.lang.String |
getLSTConfigFile()
Returns the LST configuration file |
IMessageInfo |
getMessageInfo()
Returns the message info for this configured service |
java.lang.String |
getPBDConfigFile()
Returns the PBD configuration file |
int |
getServiceClass()
Returns the service class. |
java.lang.Integer |
getServiceStatus()
Deprecated. Use IConfiguredService.getServiceStatusEnum() instead |
ServiceState |
getServiceStatusEnum()
Returns the status of the service. |
int |
getServiceVersion()
Returns the version of the service. |
java.lang.String |
getType()
Returns the type of the service. |
boolean |
isUsingServiceConfigProps()
Returns whether this configured service is using the configuration property values of the associated service. |
void |
resetToFactoryConfigProps()
Resets the configuration properties to the factory default values of the associated service. |
void |
resetToServiceConfigProps()
Resets the configuration properties to the current values of the associated service. |
void |
setConfigError(int errorState)
Set the ID of the error that is preventing the service from running. |
void |
setConfigPropsAsDefaults()
Copies the configuration properties to the associated service. |
void |
setCUID(java.lang.String cuid)
Set CUID to identify the service object associated with this IConfiguredService. |
void |
setServiceStatus(int status)
Deprecated. Use IConfiguredService.setServiceStatusEnum(com.businessobjects.sdk.plugin.desktop.common.ServiceState) instead |
void |
setServiceStatusEnum(ServiceState status)
Sets the status of the service. |
void |
setServiceVersion(int version)
Sets the version of the service. |
void |
setType(java.lang.String type)
Sets the type of the service. |
void |
useCustomConfigProps()
Sets this configured service to use custom configuration properties instead of the configuration properties defined on the associated service. |
void |
useServiceConfigProps()
Sets this configured service to use the configuration property values of the associated service. |
| Method Detail |
|---|
IConfigProperties getConfigProps()
Note that some changes may not be applied immediately. As such, these values may
not reflect the values that are currently being used by the server. To retrieve the current
configuration property values, use IConfiguredService.getActualConfigProps().
IActualConfigProperties getActualConfigProps()
IConfiguredService.getConfigProps().
IExecProps getExecProps()
IStringProps getLocalFiles()
IServiceDeploymentConfig getDeploymentConfig()
java.lang.Integer getServiceStatus()
IConfiguredService.getServiceStatusEnum() instead
ServiceState getServiceStatusEnum()
void setServiceStatus(int status)
IConfiguredService.setServiceStatusEnum(com.businessobjects.sdk.plugin.desktop.common.ServiceState) instead
status - The service status.void setServiceStatusEnum(ServiceState status)
status - The service status.java.lang.Integer getConfigError()
void setConfigError(int errorState)
errorState - The ID of the error.int getServiceVersion()
void setServiceVersion(int version)
version - The service version.java.lang.String getType()
void setType(java.lang.String type)
type - The service type.java.lang.String getCUID()
void setCUID(java.lang.String cuid)
IConfiguredService.
cuid - The CUID of the service object.IIntegerProps getEnabledAuditEvents()
boolean isUsingServiceConfigProps()
IConfiguredService.useServiceConfigProps()void useCustomConfigProps()
void useServiceConfigProps()
throws SDKException
SDKException - if the process is unsuccessful.IConfiguredService.isUsingServiceConfigProps()
void resetToServiceConfigProps()
throws SDKException
This method has no effect if IConfiguredService.isUsingServiceConfigProps() is true.
SDKException - if the process is unsuccessful.IConfiguredService.resetToFactoryConfigProps()
void resetToFactoryConfigProps()
throws SDKException
SDKException - if the process is unsuccessful.IConfiguredService.resetToServiceConfigProps()
void setConfigPropsAsDefaults()
throws SDKException
IConfiguredServices collection that was returned by
IServerBase.getHostedServices().
SDKException - if this configured service was not did not originate from the
server's hosted services.
.IMessageInfo getMessageInfo()
java.lang.String getLSTConfigFile()
java.lang.String getPBDConfigFile()
int getServiceClass()
IServiceBase.ServiceClass interface.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||