public class PolicyProviderEvent extends EventObject
IPolicyProvider.addPolicyProviderListener(IPolicyProviderListener)
,
Serialized FormModifier and Type | Class and Description |
---|---|
static class |
PolicyProviderEvent.ID
An event identifier used to distinguish between different types of events
that can take place inside a policy provider.
|
source
Constructor and Description |
---|
PolicyProviderEvent(IPolicyProvider pp,
PolicyProviderEvent.ID id,
Class<? extends IPolicy> policyType,
IPolicy policyImpl)
Constructs a new policy provider event.
|
Modifier and Type | Method and Description |
---|---|
PolicyProviderEvent.ID |
getId()
Returns the event identifier that can be used to distinguish between
different types of events.
|
IPolicy |
getPolicyImpl()
Returns the new policy implementation.
|
IPolicyProvider |
getPolicyProvider()
Returns the source of the event (the modified policy provider).
|
Class<? extends IPolicy> |
getPolicyType()
Returns the type of the changed policy.
|
getSource, toString
public PolicyProviderEvent(IPolicyProvider pp, PolicyProviderEvent.ID id, Class<? extends IPolicy> policyType, IPolicy policyImpl)
pp
- the changed policy providerid
- the event identifier used to distinguish between different
types of eventspolicyType
- the type of the policy that was changedpolicyImpl
- the new implementation of the changed policypublic IPolicyProvider getPolicyProvider()
public PolicyProviderEvent.ID getId()
public IPolicy getPolicyImpl()
Copyright © 2006–2020 Dirk Lemmermann Software & Consulting. All rights reserved.