Package org.eclipse.sisu.plexus
Class PlexusBundlePlan
- java.lang.Object
-
- org.eclipse.sisu.plexus.PlexusBundlePlan
-
- All Implemented Interfaces:
BundlePlan
public class PlexusBundlePlan extends java.lang.Object implements BundlePlan
BundlePlan
that preparesBindingPublisher
s for Plexus bundles.
-
-
Field Summary
Fields Modifier and Type Field Description protected MutableBeanLocator
locator
private static java.lang.String
SUPPORT_BUNDLE_NAME
-
Constructor Summary
Constructors Constructor Description PlexusBundlePlan(MutableBeanLocator locator)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected static boolean
hasPlexusAnnotations(org.osgi.framework.Bundle bundle)
protected static boolean
hasPlexusXml(org.osgi.framework.Bundle bundle)
BindingPublisher
prepare(org.osgi.framework.Bundle bundle)
Prepares aBindingPublisher
of components for the given bundle.
-
-
-
Field Detail
-
SUPPORT_BUNDLE_NAME
private static final java.lang.String SUPPORT_BUNDLE_NAME
-
locator
protected final MutableBeanLocator locator
-
-
Constructor Detail
-
PlexusBundlePlan
public PlexusBundlePlan(MutableBeanLocator locator)
-
-
Method Detail
-
prepare
public BindingPublisher prepare(org.osgi.framework.Bundle bundle)
Description copied from interface:BundlePlan
Prepares aBindingPublisher
of components for the given bundle.- Specified by:
prepare
in interfaceBundlePlan
- Parameters:
bundle
- The bundle- Returns:
- Publisher of bindings;
null
if the plan doesn't apply
-
hasPlexusAnnotations
protected static boolean hasPlexusAnnotations(org.osgi.framework.Bundle bundle)
-
hasPlexusXml
protected static boolean hasPlexusXml(org.osgi.framework.Bundle bundle)
-
-