org.apache.muse.core.platform.osgi.descriptor
Class OSGiCapabilityDescriptor

java.lang.Object
  extended by org.apache.muse.core.descriptor.SimpleCapabilityDescriptor
      extended by 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

Constructor Summary
OSGiCapabilityDescriptor(org.osgi.framework.Bundle bundle)
          constructor
 
Method Summary
protected  Class createImplementationClass(Element xml, Environment env)
          resolves the Class that implements the specified Capability
 
Methods inherited from class org.apache.muse.core.descriptor.SimpleCapabilityDescriptor
createInitParamDescriptor, createPersistence, createPersistenceDescriptor, createURI, getCapabilityDefinition, load, setCapabilityDefinition, toXML, toXML
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OSGiCapabilityDescriptor

public OSGiCapabilityDescriptor(org.osgi.framework.Bundle bundle)
constructor

Parameters:
bundle - the Bundle the capability description was loaded from.
Method Detail

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 definition
env - the Muse environment
Returns:
the Class implementing the capability


Copyright © 2005-2011 Apache Web Services - Muse. All Rights Reserved.