org.apache.muse.core.platform.osgi.descriptor
Class OSGiCapabilityDescriptor
java.lang.Object
org.apache.muse.core.descriptor.SimpleCapabilityDescriptor
org.apache.muse.core.platform.osgi.descriptor.OSGiCapabilityDescriptor
- All Implemented Interfaces:
- CapabilityDescriptor, XmlSerializable
public class OSGiCapabilityDescriptor
- extends SimpleCapabilityDescriptor
OSGiCapabilityDescriptor an OSGi-specific extention of SimpleCapabilityDescriptor
- Author:
- Joel Hawkins (joelh)
- See Also:
SimpleCapabilityDescriptor
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OSGiCapabilityDescriptor
public OSGiCapabilityDescriptor(org.osgi.framework.Bundle bundle)
- constructor
- Parameters:
bundle
- the Bundle the capability description was loaded from.
createImplementationClass
protected Class createImplementationClass(Element xml,
Environment env)
- resolves the Class that implements the specified Capability
- Overrides:
createImplementationClass
in class SimpleCapabilityDescriptor
- Parameters:
xml
- the current xml Element corresponding to the capability definitionenv
- the Muse environment
- Returns:
- the
Class
implementing the capability
Copyright © 2005-2011 Apache Web Services - Muse. All Rights Reserved.