public class InternalLocationFactory extends InternalFactory
InternalFactory.FactoryConstructionTracker
Constructor and Description |
---|
InternalLocationFactory(ManagementContextInternal managementContext) |
Modifier and Type | Method and Description |
---|---|
<T extends Location> |
constructLocation(java.lang.Class<T> clazz)
Constructs a new-style entity (fails if no no-arg constructor).
|
<T extends Location> |
createLocation(LocationSpec<T> spec) |
static boolean |
isNewStyleLocation(java.lang.Class<?> clazz)
Deprecated.
since 0.7.0; use
InternalFactory.isNewStyle(Class) |
static boolean |
isNewStyleLocation(ManagementContext managementContext,
java.lang.Class<?> clazz)
Deprecated.
since 0.7.0; use
InternalFactory.isNewStyle(Class) |
isNewStyle
public InternalLocationFactory(ManagementContextInternal managementContext)
@Deprecated public static boolean isNewStyleLocation(ManagementContext managementContext, java.lang.Class<?> clazz)
InternalFactory.isNewStyle(Class)
managementContext
- clazz
- @Deprecated public static boolean isNewStyleLocation(java.lang.Class<?> clazz)
InternalFactory.isNewStyle(Class)
public <T extends Location> T createLocation(LocationSpec<T> spec)
public <T extends Location> T constructLocation(java.lang.Class<T> clazz)