public static enum CatalogClasspathDo.CatalogScanningModes extends java.lang.Enum<CatalogClasspathDo.CatalogScanningModes>
Enum Constant and Description |
---|
ANNOTATIONS
types in the classpath are scanned for annotations indicating inclusion in the catalog (
Catalog );
this is the default if no catalog is supplied, scanning the local classpath |
NONE
the classpath is not scanned;
for any catalog which is presented over the internet this is recommended (to prevent loading) and is the default;
(you should explicitly list the items to include; it may be useful to autogenerate it by using a local catalog
scanning with ANNOTATIONS, viwing that by running mgmt.getCatalog().toXmlString(),
then editing the resulting XML (e.g.
|
TYPES |
Modifier and Type | Method and Description |
---|---|
static CatalogClasspathDo.CatalogScanningModes |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CatalogClasspathDo.CatalogScanningModes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CatalogClasspathDo.CatalogScanningModes NONE
public static final CatalogClasspathDo.CatalogScanningModes ANNOTATIONS
Catalog
);
this is the default if no catalog is supplied, scanning the local classpath@Beta public static final CatalogClasspathDo.CatalogScanningModes TYPES
public static CatalogClasspathDo.CatalogScanningModes[] values()
for (CatalogClasspathDo.CatalogScanningModes c : CatalogClasspathDo.CatalogScanningModes.values()) System.out.println(c);
public static CatalogClasspathDo.CatalogScanningModes valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null