public class InstantiationHelper extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
wellKnownFileName |
| Constructor and Description |
|---|
InstantiationHelper() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
allowInstantiation()
Return whether instantiation of certain classes is currently allowed or not.
|
static void |
setAllowInstantiation(boolean aVal)
Set whether instantiation of certain classes is allowed or not.
|
public static final String wellKnownFileName
public static boolean allowInstantiation()
public static void setAllowInstantiation(boolean aVal)
aVal - true if instantiation is allowed, false otherwise.Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.