Skip navigation links

Oracle Communications Service Broker Configuration and Runtime MBean Java API Referencee
6.1

E38079-01


oracle.axia.api.management.pac
Interface ProtocolAdapterMBean


public interface ProtocolAdapterMBean

Defines the runtime MBean for a Protocol Adapter.

Author:
Copyright (c) 2009 by Oracle Corp. All Rights Reserved.

Method Summary
 void forceSuspend()
          Forcefully suspends the adapter.
 String getInstanceId()
          Gets the protocol adapter instance id.
 String getState()
          Gets the protocol adapter state.
 void resume()
          Resumes the adapter.
 void suspend()
          Suspends the adapter.

 

Method Detail

getInstanceId

String getInstanceId()
Gets the protocol adapter instance id.
Returns:
id.

getState

String getState()
Gets the protocol adapter state.
Returns:
REGISTERED, ADMIN, RUNNING_CONNECTED, RUNNING_DISCONNECTED, SUSPENDING.

resume

void resume()
            throws IllegalStateException
Resumes the adapter.
Throws:
IllegalStateException - If resume can not be performed in this state.

suspend

void suspend()
             throws IllegalStateException
Suspends the adapter. Note that the adapter is suspended asynchronously. Use getState attribute to monitor completion of the suspend.
Throws:
IllegalStateException - If suspend can not be performed in this state.

forceSuspend

void forceSuspend()
                  throws IllegalStateException
Forcefully suspends the adapter.
Throws:
IllegalStateException - If suspend can not be performed in this state.

Skip navigation links

Oracle Communications Service Broker Configuration and Runtime MBean Java API Referencee
6.1

E38079-01


Copyright © 2013, Oracle and/or its affiliates. All rights reserved.