org.tanukisoftware.wrapper.event

Class WrapperServiceEvent

Known Direct Subclasses:
WrapperServiceControlEvent

public abstract class WrapperServiceEvent
extends WrapperEvent

WrapperServiceEvents are used to notify the listener of events related the service.
Version:
$Revision: 1.5 $
Author:
Leif Mortenson

Constructor Summary

WrapperServiceEvent()
Creates a new WrapperServiceEvent.

Method Summary

long
getFlags()
Returns a set of event flags for which the event should be fired.

Methods inherited from class org.tanukisoftware.wrapper.event.WrapperEvent

getFlags

Constructor Details

WrapperServiceEvent

protected WrapperServiceEvent()
Creates a new WrapperServiceEvent.

Method Details

getFlags

public long getFlags()
Returns a set of event flags for which the event should be fired. This value is compared with the mask supplied when when a WrapperEventListener is registered to decide which listeners should receive the event.

If a subclassed, the return value of the super class should usually be ORed with any additional flags.

Overrides:
getFlags in interface WrapperEvent
Returns:
a set of event flags.

Copyright 1999, 2006 Tanuki Software Inc., All Rights Reserved.