public final class ComponentBuilder extends Object
| Modifier and Type | Method and Description |
|---|---|
static Component |
build(org.osgi.framework.Bundle registeredBundle,
org.osgi.framework.BundleContext bundleContext)
reads component.xml from given bundle & returns an object representation of it
|
static Component |
build(InputStream componentIn,
String componentName,
String componentVersion,
org.osgi.framework.BundleContext bundleContext) |
static void |
processCustomUIs(org.apache.axiom.om.OMElement document,
Component component) |
static void |
processMenus(String componentName,
org.apache.axiom.om.OMElement document,
Component component) |
public static Component build(org.osgi.framework.Bundle registeredBundle, org.osgi.framework.BundleContext bundleContext)
registeredBundle - The bundle that is being registeredbundleContext - The bundle context of the UI bundlespublic static Component build(InputStream componentIn, String componentName, String componentVersion, org.osgi.framework.BundleContext bundleContext) throws org.wso2.carbon.CarbonException, XMLStreamException
org.wso2.carbon.CarbonExceptionXMLStreamExceptionpublic static void processCustomUIs(org.apache.axiom.om.OMElement document,
Component component)
Copyright © 2012-2015 The Apache Software Foundation. All Rights Reserved.