com.cisco.provisioning.cpe.events
Class ProvGroupAdapter

java.lang.Object
  extended by com.cisco.provisioning.cpe.events.ProvGroupAdapter
All Implemented Interfaces:
ProvAPIEventListener, ProvGroupListener

public abstract class ProvGroupAdapter
extends Object
implements ProvGroupListener

An abstract class that provides no-op definitions of all methods in the ProvGroupListener interface. Users must extend this class, and then implement the methods for the desired ProvGroupEvent sub-event notifications.


Field Summary
 
Fields inherited from interface com.cisco.provisioning.cpe.events.ProvGroupListener
PROV_GROUP_MODIFIED
 
Constructor Summary
ProvGroupAdapter()
           
 
Method Summary
 boolean getOneShot()
          Gets oneShot mode value, specifying whether or not the listener is registered for just one occurrence of the Event.
 void modified(ProvGroupEvent event)
          The method invoked when a ProvGroupEvent arrives and the event ID is of type ProvGroupListener.PROV_GROUP_MODIFIED
 void setOneShot(boolean flg)
          Sets oneShot mode, specifying that the registration request is for just one occurrence of the Event.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProvGroupAdapter

public ProvGroupAdapter()
Method Detail

modified

public void modified(ProvGroupEvent event)
The method invoked when a ProvGroupEvent arrives and the event ID is of type ProvGroupListener.PROV_GROUP_MODIFIED

Specified by:
modified in interface ProvGroupListener
Parameters:
event - The object containing the modified provisioning group.

getOneShot

public boolean getOneShot()
Gets oneShot mode value, specifying whether or not the listener is registered for just one occurrence of the Event.

Specified by:
getOneShot in interface ProvAPIEventListener
Returns:
true if oneShot mode has been set.

setOneShot

public void setOneShot(boolean flg)
Sets oneShot mode, specifying that the registration request is for just one occurrence of the Event.

Specified by:
setOneShot in interface ProvAPIEventListener
Parameters:
flg - true if oneShot mode is being set