Package com.ibm.wsspi.classloading
Enum ApiType
- All Implemented Interfaces:
Serializable
,Comparable<ApiType>
An Api Type is a grouping of packages that can be accessed by applications.
The grouping represents a coarse-grained control structure for use with JEE.
It is not needed for OSGi artefacts since they have a finer-grained control
structure built in already.
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionProprietary APIs provided by non-IBM features.Proprietary APIs provided by IBM features.The standard APIs for any specifications supported by Liberty, e.g.Stable APIs -- These are third party APIs we have enough confidence in to expose by default, but are not fully spec APIsProprietary APIs from third-party libraries which can be used in conjunction with features, e.g. -
Method Summary
Modifier and TypeMethodDescriptioncreateApiTypeSet
(String... apiTypes) Convert one or more comma-and-space-delimited api type strings into a single set of typesstatic ApiType
fromString
(String value) toString()
static ApiType
Returns the enum constant of this type with the specified name.static ApiType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
SPEC
The standard APIs for any specifications supported by Liberty, e.g. javax.servlet.http -
IBMAPI
Proprietary APIs provided by IBM features. -
API
Proprietary APIs provided by non-IBM features. -
THIRDPARTY
Proprietary APIs from third-party libraries which can be used in conjunction with features, e.g. the Wink APIs for use with Liberty's JAX-RS support. -
STABLE
Stable APIs -- These are third party APIs we have enough confidence in to expose by default, but are not fully spec APIs
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
fromString
-
createApiTypeSet
Convert one or more comma-and-space-delimited api type strings into a single set of types -
toString
-