BEA Systems, Inc.

BEA WebLogic Server 9.1 API Reference


weblogic.management
Interface TargetAvailabilityStatus

All Superinterfaces:
Serializable

Deprecated. 9.0.0.0 Replaced by AppRuntimeStateRuntimeMBean

public interface TargetAvailabilityStatus
extends Serializable

This is a standard interface that encapsultes the availability/deployment status of a component on a target. The targets could be a server,cluster or a virtual host.

Since:
7.0.6.0, 8.1.4.0
Copyright © 2005 BEA Systems, Inc. All Rights Reserved.

Field Summary
static int AVAILABILITY_STATUS_AVAILABLE
          Deprecated.  
static int AVAILABILITY_STATUS_DISTRIBUTED
          Deprecated.  
static int AVAILABILITY_STATUS_NOTAVAILABLE
          Deprecated.  
static int AVAILABILITY_STATUS_NOTDISTRIBUTED
          Deprecated.  
static int DEPLOYMENT_STATUS_AVAILABLE
          Deprecated.  
static int DEPLOYMENT_STATUS_NOTAVAILABLE
          Deprecated.  
static int DEPLOYMENT_STATUS_PARTIALLYAVAILABLE
          Deprecated.  
static int TARGET_TYPE_CLUSTER
          Deprecated.  
static int TARGET_TYPE_SERVER
          Deprecated.  
static int TARGET_TYPE_VIRTUALHOST
          Deprecated.  
 
Method Summary
 int getAvailabilityStatus()
          Deprecated. This returns the availability status of the component on the server.
 Set getClustersAvailabilityStatus()
          Deprecated. Set of TargetAvailabilityStatus objects encapsulating the availability status of the underlying clusters of the virtual host.
 int getDeploymentStatus()
          Deprecated. This returns the deployment status of the component on the target.
 Set getServersAvailabilityStatus()
          Deprecated. Set of TargetAvailabilityStatus objects encapsulating the availability status of the underlying servers of the cluster/virtual host.
 String getTargetName()
          Deprecated. This method returns the target name on which the component is deployed
 int getTargetType()
          Deprecated. Returns the type of the target for which the availability status is stored.
 

Field Detail

AVAILABILITY_STATUS_AVAILABLE

public static final int AVAILABILITY_STATUS_AVAILABLE
Deprecated. 
See Also:
Constant Field Values

AVAILABILITY_STATUS_DISTRIBUTED

public static final int AVAILABILITY_STATUS_DISTRIBUTED
Deprecated. 
See Also:
Constant Field Values

AVAILABILITY_STATUS_NOTAVAILABLE

public static final int AVAILABILITY_STATUS_NOTAVAILABLE
Deprecated. 
See Also:
Constant Field Values

AVAILABILITY_STATUS_NOTDISTRIBUTED

public static final int AVAILABILITY_STATUS_NOTDISTRIBUTED
Deprecated. 
See Also:
Constant Field Values

DEPLOYMENT_STATUS_AVAILABLE

public static final int DEPLOYMENT_STATUS_AVAILABLE
Deprecated. 
See Also:
Constant Field Values

DEPLOYMENT_STATUS_NOTAVAILABLE

public static final int DEPLOYMENT_STATUS_NOTAVAILABLE
Deprecated. 
See Also:
Constant Field Values

DEPLOYMENT_STATUS_PARTIALLYAVAILABLE

public static final int DEPLOYMENT_STATUS_PARTIALLYAVAILABLE
Deprecated. 
See Also:
Constant Field Values

TARGET_TYPE_CLUSTER

public static final int TARGET_TYPE_CLUSTER
Deprecated. 
See Also:
Constant Field Values

TARGET_TYPE_SERVER

public static final int TARGET_TYPE_SERVER
Deprecated. 
See Also:
Constant Field Values

TARGET_TYPE_VIRTUALHOST

public static final int TARGET_TYPE_VIRTUALHOST
Deprecated. 
See Also:
Constant Field Values
Method Detail

getAvailabilityStatus

public int getAvailabilityStatus()
Deprecated. 
This returns the availability status of the component on the server. It could be AVAILABILITY_STATUS_NOTAVAILABLE, AVAILABILITY_STATUS_AVAILABLE, AVAILABILITY_STATUS_DISTRIBUTED, AVAILABILITY_STATUS_NOTDISTRIBUTED. This call is valid only if the targetType is TARGET_TYPE_SERVER. For other target types it throws a Assertion Exception. If a component is using staged deployment and is unavailable on a server, then its availability status could be AVAILABILITY_STATUS_DISTRIBUTED or AVAILABILITY_STATUS_NOTDISTRIBUTED depending upon whether the application's latest source is available on the target or not. For deployments that are not staged, the availability status is only AVAILABILITY_STATUS_NOTAVAILABLE if the component is unavailable on the target.

Returns:
int

getClustersAvailabilityStatus

public Set getClustersAvailabilityStatus()
Deprecated. 
Set of TargetAvailabilityStatus objects encapsulating the availability status of the underlying clusters of the virtual host. For server and cluster targetType, this method throws a assertion exception.

Returns:
Set

getDeploymentStatus

public int getDeploymentStatus()
Deprecated. 
This returns the deployment status of the component on the target. It could be DEPLOYMENT_STATUS_NOTAVAILABLE, DEPLOYMENT_STATUS_AVAILABLE or DEPLOYMENT_STATUS_PARTIALLYAVAILABLE

Returns:
int

getServersAvailabilityStatus

public Set getServersAvailabilityStatus()
Deprecated. 
Set of TargetAvailabilityStatus objects encapsulating the availability status of the underlying servers of the cluster/virtual host. For server targetType, this method throws a assertion exception.

Returns:
Set

getTargetName

public String getTargetName()
Deprecated. 
This method returns the target name on which the component is deployed

Returns:
String

getTargetType

public int getTargetType()
Deprecated. 
Returns the type of the target for which the availability status is stored. it could be TARGET_TYPE_SERVER, TARGET_TYPE_CLUSTER or TARGET_TYPE_VIRTUALHOST

Returns:
int

Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs91
Copyright 2005 BEA Systems Inc.