|
|||||||||
| 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 | |
|---|---|
java.lang.Integer |
getConfigError()
Returns the ID of the error that resulted in the "stopped" or "starting error" state of the service status. |
java.lang.String |
getCUID()
Returns the CUID of the Service object. |
IServiceDeploymentConfig |
getDeploymentConfig()
For internal use only. |
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 |
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 |
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 |
useServiceConfigProps()
Sets this configured service to use the configuration property values of the associated service. |
| Method Detail |
|---|
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.boolean isUsingServiceConfigProps()
IConfiguredService.useServiceConfigProps()
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.#resetToFactoryConfigPropsint getServiceClass()
IServiceBase.ServiceClass interface.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||