JCC
v1.0

jain.application.services.jcp
Interface JcpProviderListener

All Superinterfaces:
java.util.EventListener

public interface JcpProviderListener
extends java.util.EventListener

Interface for notifying changes happening in a JcpProvider. These changes are reported as events to the JcpProviderListener method corresponding to the type of event. Applications must instantiate an object which implements this interface and then use the JcpProvider.addProviderListener(JcpProviderListener) method to register the object to receive all future events associated with the JcpProvider object.


Method Summary
 void providerEventTransmissionEnded(JcpProviderEvent providerevent)
          Indicates that the application will no longer receive JcpProvider events on the instance of the JcpProviderListener.
 void providerInService(JcpProviderEvent providerevent)
          Indicates that the state of the JcpProvider has changed to JcpProvider.IN_SERVICE.
 void providerOutOfService(JcpProviderEvent providerevent)
          Indicates that the state of the JcpProvider has changed to JcpProvider.OUT_OF_SERVICE.
 void providerShutdown(JcpProviderEvent providerevent)
          Indicates that the state of the JcpProvider has changed to JcpProvider.SHUTDOWN.
 

Method Detail

providerInService

public void providerInService(JcpProviderEvent providerevent)
Indicates that the state of the JcpProvider has changed to JcpProvider.IN_SERVICE.
Parameters:
providerevent - JcpProviderEvent with event ID JcpProviderEvent.PROVIDER_IN_SERVICE.

providerOutOfService

public void providerOutOfService(JcpProviderEvent providerevent)
Indicates that the state of the JcpProvider has changed to JcpProvider.OUT_OF_SERVICE.
Parameters:
providerevent - JcpProviderEvent with event ID JcpProviderEvent.PROVIDER_OUT_OF_SERVICE.

providerShutdown

public void providerShutdown(JcpProviderEvent providerevent)
Indicates that the state of the JcpProvider has changed to JcpProvider.SHUTDOWN.
Parameters:
providerevent - JcpProviderEvent with event ID JcpProviderEvent.PROVIDER_SHUTDOWN.

providerEventTransmissionEnded

public void providerEventTransmissionEnded(JcpProviderEvent providerevent)
Indicates that the application will no longer receive JcpProvider events on the instance of the JcpProviderListener.
Parameters:
providerevent - JcpProviderEvent with event ID JcpProviderEvent.PROVIDER_EVENT_TRANSMISSION_ENDED.

JCC
v1.0

January 19, 2001
If you have any comments or queries, please mail them to m-JAIN-JCC@notes.cc.telcordia.com

Copyright - 2001 Sun Microsystems