public final class FanManager extends FanManager
Constructor and Description |
---|
FanManager() |
Modifier and Type | Method and Description |
---|---|
void |
configure(java.util.Properties props)
Configures the event daemon.
|
static FanManager |
getInstanceInternal()
Get an instance of the concrete implementation class.
|
FanSubscription |
subscribe(java.util.Properties props)
Creates a FanSubscription that retrieves FAN events using ONS.
|
getInstance
public static final FanManager getInstanceInternal()
public final void configure(java.util.Properties props)
configure
in class FanManager
props
- Properties that configure the event daemon.java.lang.IllegalArgumentException
- if the props are unrecognized.java.lang.IllegalStateException
- if it has been called previously or if subscribe has been called previously.public final FanSubscription subscribe(java.util.Properties props)
subscribe
in class FanManager
props
- Properties that define the events to retrieve.java.lang.IllegalArgumentException
- if the properties do not specify a valid subscription.java.lang.IllegalStateException
- if the daemon is not properly initialized.java.security.AccessControlException
- if the caller does not have oracle.ons.SubscribePermission.