public class InternalPolicyFactory extends InternalFactory
InternalFactory.FactoryConstructionTracker
Constructor and Description |
---|
InternalPolicyFactory(ManagementContextInternal managementContext) |
Modifier and Type | Method and Description |
---|---|
<T extends Enricher> |
constructEnricher(java.lang.Class<T> clazz)
Constructs a new-style enricher (fails if no no-arg constructor).
|
<T extends Feed> |
constructFeed(java.lang.Class<T> clazz)
Constructs a new-style feed (fails if no no-arg constructor).
|
<T extends Policy> |
constructPolicy(java.lang.Class<T> clazz)
Constructs a new-style policy (fails if no no-arg constructor).
|
<T extends Enricher> |
createEnricher(EnricherSpec<T> spec) |
<T extends Policy> |
createPolicy(PolicySpec<T> spec) |
static boolean |
isNewStyleEnricher(java.lang.Class<?> clazz)
Deprecated.
since 0.7.0; use
InternalFactory.isNewStyle(Class) |
static boolean |
isNewStylePolicy(java.lang.Class<?> clazz)
Deprecated.
since 0.7.0; use
InternalFactory.isNewStyle(Class) |
static boolean |
isNewStylePolicy(ManagementContext managementContext,
java.lang.Class<?> clazz)
Deprecated.
since 0.7.0; use
InternalFactory.isNewStyle(Class) |
isNewStyle
public InternalPolicyFactory(ManagementContextInternal managementContext)
@Deprecated public static boolean isNewStylePolicy(ManagementContext managementContext, java.lang.Class<?> clazz)
InternalFactory.isNewStyle(Class)
managementContext
- clazz
- @Deprecated public static boolean isNewStylePolicy(java.lang.Class<?> clazz)
InternalFactory.isNewStyle(Class)
@Deprecated public static boolean isNewStyleEnricher(java.lang.Class<?> clazz)
InternalFactory.isNewStyle(Class)
public <T extends Policy> T createPolicy(PolicySpec<T> spec)
public <T extends Enricher> T createEnricher(EnricherSpec<T> spec)
public <T extends Policy> T constructPolicy(java.lang.Class<T> clazz)
public <T extends Enricher> T constructEnricher(java.lang.Class<T> clazz)
public <T extends Feed> T constructFeed(java.lang.Class<T> clazz)