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
BundlePlanthat preparesBindingPublishers for Plexus bundles.
-
-
Field Summary
Fields Modifier and Type Field Description protected MutableBeanLocatorlocatorprivate static java.lang.StringSUPPORT_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 booleanhasPlexusAnnotations(org.osgi.framework.Bundle bundle)protected static booleanhasPlexusXml(org.osgi.framework.Bundle bundle)BindingPublisherprepare(org.osgi.framework.Bundle bundle)Prepares aBindingPublisherof 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:BundlePlanPrepares aBindingPublisherof components for the given bundle.- Specified by:
preparein interfaceBundlePlan- Parameters:
bundle- The bundle- Returns:
- Publisher of bindings;
nullif 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)
-
-