[
https://jira.jboss.org/jira/browse/JBOSGI-184?page=com.atlassian.jira.plu...
]
Thomas Diesler resolved JBOSGI-184.
-----------------------------------
Resolution: Done
Done
The OSGiFrameworkFactory now recognises these descriptors
bootstraps.add("META-INF/jboss-osgi-bootstrap.xml");
bootstraps.add("META-INF/jboss-osgi-system-bootstrap.xml");
bootstraps.add("META-INF/jboss-osgi-custom-bootstrap.xml");
By default the beans from any of those will be loaded.
The system bootstrap beans now live here
http://github.com/jbosgi/jbosgi-framework/blob/master/core/src/main/resou...
which is part of the framework-core.jar
You can always overwrite using these system properties
/** The system property used to get a bootstrap url */
public static final String BOOTSTRAP_URL =
"org.jboss.osgi.framework.bootstrap.url";
/** The system property used to get a bootstrap path loaded from a classloader */
public static final String BOOTSTRAP_PATH =
"org.jboss.osgi.framework.bootstrap.path";
See
http://github.com/jbosgi/jbosgi-framework/blob/master/core/src/test/java/...
Allow for overlay of jboss-osgi-bootstrap.xml
---------------------------------------------
Key: JBOSGI-184
URL:
https://jira.jboss.org/jira/browse/JBOSGI-184
Project: JBoss OSGi
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Components: Core Framework
Reporter: Thomas Diesler
Assignee: Thomas Diesler
Fix For: JBossOSGi 1.0.0 Beta8
jboss-osgi-bootstrap.xml is copied with minor differences at least 4 times.
The core framework implementation should contain a default configuration which can be
overlayed if needed
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira