|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BundleActivationPolicy
Represents a bundle's Bundle-ActivationPolicy
header.
Nested Class Summary | |
---|---|
static class |
BundleActivationPolicy.Policy
An enumeration of the legal values for a bundle's activation policy, specified using the Bundle-ActivationPolicy header. |
Method Summary | |
---|---|
BundleActivationPolicy.Policy |
getActivationPolicy()
Returns the value of the Bundle-ActivationPolicy header. |
java.util.List<java.lang.String> |
getExclude()
Returns a list of the class names specified in the header's exclude directive. |
java.util.List<java.lang.String> |
getInclude()
Returns a list of the class names specified in the header's include directive. |
void |
setActivationPolicy(BundleActivationPolicy.Policy policy)
Sets the value of the Bundle-ActivationPolicy header. |
Methods inherited from interface com.springsource.util.osgi.manifest.Parameterised |
---|
getAttributes, getDirectives |
Methods inherited from interface com.springsource.util.osgi.manifest.Parseable |
---|
resetFromParseString, toParseString |
Method Detail |
---|
BundleActivationPolicy.Policy getActivationPolicy()
Bundle-ActivationPolicy
header. If no header
is specified returns the default value of BundleActivationPolicy.Policy.EAGER
.
Bundle-ActivationPolicy
header.void setActivationPolicy(BundleActivationPolicy.Policy policy)
Bundle-ActivationPolicy
header.
policy
- the bundle's activation policy.java.util.List<java.lang.String> getExclude()
exclude
directive. Returns an empty list
if the header has no exclude
directive.
java.util.List<java.lang.String> getInclude()
include
directive. Returns an empty list
if the header has no include
directive.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |