Package org.eclipse.sisu.plexus
Class PlexusBundlePlan
- java.lang.Object
-
- org.eclipse.sisu.plexus.PlexusBundlePlan
-
- All Implemented Interfaces:
BundlePlan
public class PlexusBundlePlan extends Object implements BundlePlan
BundlePlan
that preparesBindingPublisher
s for Plexus bundles.
-
-
Field Summary
Fields Modifier and Type Field Description protected MutableBeanLocator
locator
-
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
-
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)
-
-