|
SAP CC 1.0
API 4.2 (Core) |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface InstanceInfo
This operation represents the interface of the instance info.
for more info about XML description.| Field Summary | |
|---|---|
static java.lang.String |
TAG_NAME
The XML tag name of this class : "instanceInfo". |
| Method Summary | |
|---|---|
InstanceInfo |
duplicate()
Copies this InstanceInfo into a new instance of InstanceInfo |
ServiceInfo.Address |
getAddress(ServiceInfo.ServiceInfoType service)
Gets the address defined for the service. |
java.lang.String |
getBatchServiceServerHost()
Deprecated. since R4.1 use getHost(ServiceInfoType) instead |
int |
getBatchServiceServerPort()
Deprecated. since R4.1 use getPort(ServiceInfoType) instead |
java.lang.String |
getFullHost(ServiceInfo.ServiceInfoType service)
Gets the host name defined for the service with the multi-homing information. |
java.lang.String |
getHost(ServiceInfo.ServiceInfoType service)
Gets the host name defined for the service. |
java.lang.String |
getHttpHost()
Deprecated. since R4.1 use getHost(ServiceInfoType) instead |
int |
getHttpPort()
Deprecated. since R4.1 use getPort(ServiceInfoType) instead |
java.lang.String |
getHTTPURL()
Returns the HTTP URL. |
InstanceId |
getInstanceId()
Returns the instance ID value. |
java.lang.String |
getInstanceName(boolean full)
Returns the server instance (full)name. The full name has the following grammar: [<http host name>]<instanceId> The name is just the string representation of the InstanceId |
java.lang.String |
getMemorySize()
Returns the max memory size used by the related JVM (-Xmx JVM param) . |
java.lang.String |
getMulticastHost()
Deprecated. since R4.1 use getHost(ServiceInfoType) instead |
int |
getMulticastPort()
Deprecated. since R4.1 use getPort(ServiceInfoType) instead |
java.lang.String |
getNotificationHost()
Deprecated. since R4.1 use getHost(ServiceInfoType) instead |
int |
getNotificationPort()
Deprecated. since R4.1 use getPort(ServiceInfoType) instead |
java.lang.String |
getOptions()
Returns the extra options used by the related JVM. |
int |
getPort(ServiceInfo.ServiceInfoType service)
Gets the port defined for the service. |
ServiceInfo |
getServiceInfo(ServiceInfo.ServiceInfoType serviceType)
Returns the service information value, containing host value and port number. |
java.lang.String |
getSnmpHost()
Deprecated. since R4.1 use getHost(ServiceInfoType) instead |
int |
getSnmpPort()
Deprecated. since R4.1 use getPort(ServiceInfoType) instead |
java.lang.String |
getStatefulServiceServerHost()
Deprecated. since R4.1 use getHost(ServiceInfoType) instead |
int |
getStatefulServiceServerPort()
Deprecated. since R4.1 use getPort(ServiceInfoType) instead |
java.lang.String |
getStatelessServiceServerHost()
Deprecated. since R4.1 use getHost(ServiceInfoType) instead |
int |
getStatelessServiceServerPort()
Deprecated. since R4.1 use getPort(ServiceInfoType) instead |
boolean |
hasSame(InstanceId instanceId)
Returns true if the instance info has the same instance id that the given parameter. |
boolean |
hasSame(InstanceType instanceType)
Returns true if the instance info has the same instance type that the given parameter. |
boolean |
isBackup()
Deprecated. since R4.1 use hasSame() with backup instead |
boolean |
isBatchServiceEnabled()
Deprecated. since R4.1. Please use isServiceEnabled(ServiceInfo.ServiceInfoType) with BATCH instead. |
boolean |
isBillingAssistant()
Deprecated. since R4.1 use hasSame() with billingAssistant instead |
boolean |
isCharger()
Deprecated. since R4.1 use hasSame() with charger instead |
boolean |
isEZTaxer()
Deprecated. since R4.1 use hasSame() with eztaxer instead |
boolean |
isGuider()
Deprecated. since R4.1 use hasSame() with guider instead |
boolean |
isHttpMultipleBinding()
Returns true if the HTTP server is bound to all available addresses. |
boolean |
isHTTPSecurityEnabled()
Return true if the HTTP service security is enabled. |
boolean |
isPrimaryBackup()
Deprecated. since R4.1 use hasSame() with PRIMARY_BACKUP_ID instead |
boolean |
isRater()
Deprecated. since R4.1 use hasSame() with rater instead |
boolean |
isSecondaryBackup()
Deprecated. since R4.1 use hasSame() with SECONDARY_BACKUP_ID instead |
boolean |
isServiceEnabled(ServiceInfo.ServiceInfoType serviceType)
Returns true if the service is enabled. |
boolean |
isStatefulServiceEnabled()
Deprecated. since R4.1 use isServiceEnabled(ServiceInfo.ServiceInfoType) with SFUL instead |
boolean |
isStatelessServiceEnabled()
Deprecated. since R4.1 use isServiceEnabled(ServiceInfo.ServiceInfoType) with SLESS instead |
boolean |
isUpdater()
Deprecated. since R4.1 use hasSame() with updater instead |
void |
isValid()
Throws an InvalidInstanceInfoException if the instance info is malformed or invalid. |
void |
setFullHost(ServiceInfo.ServiceInfoType service,
java.lang.String host)
Sets the host name defined for the service with the multi-homing information. |
void |
setHost(ServiceInfo.ServiceInfoType service,
java.lang.String host)
Sets the host name defined for the service. |
void |
setHTTPSecurityEnable(boolean flag)
Controls whether HTTP service secured or not. |
void |
setPort(ServiceInfo.ServiceInfoType service,
int port)
Sets the port defined for the service. |
| Methods inherited from interface com.highdeal.hci.XMLMarshallable |
|---|
addCharacterData, addChild, marshal, setAttributes |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Field Detail |
|---|
static final java.lang.String TAG_NAME
| Method Detail |
|---|
ServiceInfo getServiceInfo(ServiceInfo.ServiceInfoType serviceType)
serviceType - the service type, which is one among service info list.
InstanceId getInstanceId()
InstanceInfo duplicate()
ServiceInfo.Address getAddress(ServiceInfo.ServiceInfoType service)
service - value among service info list
java.lang.String getHost(ServiceInfo.ServiceInfoType service)
service - value among service info list
java.lang.String getFullHost(ServiceInfo.ServiceInfoType service)
service - value among service info list
int getPort(ServiceInfo.ServiceInfoType service)
service - value among service info list
void setFullHost(ServiceInfo.ServiceInfoType service,
java.lang.String host)
service - value among service info listhost - the new service host name
void setHost(ServiceInfo.ServiceInfoType service,
java.lang.String host)
service - value among service info listhost - the new service host name
void setPort(ServiceInfo.ServiceInfoType service,
int port)
service - value among service info listport - the new service portjava.lang.String getHttpHost()
int getHttpPort()
java.lang.String getStatelessServiceServerHost()
int getStatelessServiceServerPort()
java.lang.String getStatefulServiceServerHost()
int getStatefulServiceServerPort()
java.lang.String getBatchServiceServerHost()
int getBatchServiceServerPort()
java.lang.String getMulticastHost()
int getMulticastPort()
java.lang.String getSnmpHost()
int getSnmpPort()
java.lang.String getNotificationHost()
int getNotificationPort()
boolean isHTTPSecurityEnabled()
void setHTTPSecurityEnable(boolean flag)
flag - set to true if the HTTP service security is enabled.java.lang.String getHTTPURL()
java.lang.String getMemorySize()
java.lang.String getOptions()
boolean hasSame(InstanceType instanceType)
instanceType -
boolean hasSame(InstanceId instanceId)
instanceId -
boolean isServiceEnabled(ServiceInfo.ServiceInfoType serviceType)
serviceType -
boolean isUpdater()
hasSame() with updater instead
boolean isRater()
hasSame() with rater instead
boolean isBackup()
hasSame() with backup instead
boolean isGuider()
hasSame() with guider instead
boolean isCharger()
hasSame() with charger instead
boolean isEZTaxer()
hasSame() with eztaxer instead
boolean isPrimaryBackup()
hasSame() with PRIMARY_BACKUP_ID instead
boolean isSecondaryBackup()
hasSame() with SECONDARY_BACKUP_ID instead
boolean isBillingAssistant()
hasSame() with billingAssistant instead
boolean isStatefulServiceEnabled()
isServiceEnabled(ServiceInfo.ServiceInfoType) with SFUL instead
boolean isStatelessServiceEnabled()
isServiceEnabled(ServiceInfo.ServiceInfoType) with SLESS instead
boolean isBatchServiceEnabled()
isServiceEnabled(ServiceInfo.ServiceInfoType) with BATCH instead.
java.lang.String getInstanceName(boolean full)
InstanceId
full - true to return the full name, false to return the string representation of the instanceId.
void isValid()
throws InvalidInstanceException
InvalidInstanceException - if the instance map is not valid.boolean isHttpMultipleBinding()
|
SAP CC 1.0
API 4.2 (Core) |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
SAP Convergent Charging 1.0 (build R4.2.1.35.0.0)
CONVERGENT CHARGING 4.2
(c) Copyright 2009 SAP AG. All rights reserved.