Overview | Package | Class | Use | Tree | Deprecated | Index | Help
|  | Oracle
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## weblogic.wtc.gwt
Class WTCServiceStatus

    java.lang.Object
      weblogic.wtc.gwt.WTCServiceStatus

    public final class WTCServiceStatus

extends Object

This is the WTC service status utility class which is used to determine the service status and service type.

The service status can be one of the following:

- `AVAILABLE` - The imported or exported service is available.
- `SUSPENDED` - The imported or exported service is suspended.
- `UNAVAILABLE` - The imported or exported service status is not available.
- `UNKNOWN` - The imported or exported service status is unknown.

The service type can be one of the following:

- `IMPORT` - The service is imported from a foreign domain.
- `EXPORT` - The service is exported to a foreign domain.

Field Summary
`static int` | `AVAILABLE`
`static int` | `EXPORT`
`static int` | `IMPORT`
`static int` | `SUSPENDED`
`static int` | `UNAVAILABLE`
`static int` | `UNKNOWN`

Constructor Summary
`WTCServiceStatus()`

Method Summary
`static String` | `statusToString(int status)` Returns the string value of the service status
`static String` | `svcTypeToString(int svcType)` Returns the string value of the service type

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### UNKNOWN

    public static final int UNKNOWN

See Also:
  Constant Field Values

### SUSPENDED

    public static final int SUSPENDED

See Also:
  Constant Field Values

### UNAVAILABLE

    public static final int UNAVAILABLE

See Also:
  Constant Field Values

### AVAILABLE

    public static final int AVAILABLE

See Also:
  Constant Field Values

### IMPORT

    public static final int IMPORT

See Also:
  Constant Field Values

### EXPORT

    public static final int EXPORT

See Also:
  Constant Field Values

Constructor Detail

### WTCServiceStatus

    public WTCServiceStatus()

Method Detail

### statusToString

    public static String statusToString(int status)

  Returns the string value of the service status

  Parameters:
    `status` - The integer representaton of the status of a service: (0) UNKNOWN, (1) SUSPENDED, (2) UNAVAILABLE, (3) AVAILABLE
  Returns:
    A string version of this object

### svcTypeToString

    public static String svcTypeToString(int svcType)

  Returns the string value of the service type

  Parameters:
    `svcType` - The integer representation of the type of service: (1) IMPORT, (2) EXPORT
  Returns:
    A string version of this object

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Documentation is available at http://edocs.bea.com/wls/docs103 Copyright 1996,2008, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD