public final class RestrictorFactory extends Object
Restrictor| Modifier and Type | Method and Description |
|---|---|
static Restrictor |
createRestrictor(Configuration pConfig,
LogHandler logHandler) |
static PolicyRestrictor |
lookupPolicyRestrictor(String pLocation)
Lookup a restrictor based on an URL
|
public static Restrictor createRestrictor(Configuration pConfig, LogHandler logHandler)
public static PolicyRestrictor lookupPolicyRestrictor(String pLocation) throws IOException
pLocation - classpath or URL representing the location of the policy restrictornull if none could be found.IOException - if reading of the policy stream failedCopyright © 2017. All rights reserved.