[JBoss JIRA] Assigned: (JBOSGI-267) Allow multiple bundles to change state at once
by Thomas Diesler (JIRA)
[ https://jira.jboss.org/jira/browse/JBOSGI-267?page=com.atlassian.jira.plu... ]
Thomas Diesler reassigned JBOSGI-267:
-------------------------------------
Assignee: Thomas Diesler (was: Ales Justin)
> Allow multiple bundles to change state at once
> ----------------------------------------------
>
> Key: JBOSGI-267
> URL: https://jira.jboss.org/jira/browse/JBOSGI-267
> Project: JBoss OSGi
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: Core Framework
> Reporter: Thomas Diesler
> Assignee: Thomas Diesler
> Fix For: Framework 1.0.0 Alpha4
>
>
> Currently the BundleManager can only reslove bundles one-by-one
> deployerClient.change(unit.getName(), DeploymentStages.CLASSLOADER);
> deployerClient.checkComplete(unit.getName());
> bundleState.changeState(Bundle.RESOLVED);
> this results in uglyness in PackageAdmin
> int resolved = 1;
> while (resolved > 0)
> {
> resolved = 0;
> Iterator<OSGiBundleState> it = resolvableBundles.iterator();
> while (it.hasNext())
> {
> OSGiBundleState bundleState = it.next();
> if (bundleManager.resolveBundle(bundleState, false))
> {
> it.remove();
> resolved++;
> }
> }
> }
> PackageAdmin should be able to use an API that resolves multiple deployemnts at once.
--
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
14 years, 2 months
[JBoss JIRA] Created: (JBOSGI-292) PackageAdmin cannot obtain classloading metadata
by Thomas Diesler (JIRA)
PackageAdmin cannot obtain classloading metadata
------------------------------------------------
Key: JBOSGI-292
URL: https://jira.jboss.org/jira/browse/JBOSGI-292
Project: JBoss OSGi
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Core Framework
Reporter: Thomas Diesler
Assignee: Thomas Diesler
Fix For: JBossOSGi 1.0.0 Beta7
Caused by: java.lang.IllegalStateException: Cannot obtain ClassLoadingMetaData
at org.jboss.osgi.framework.packageadmin.PackageAdminImpl.getExportedPackages(PackageAdminImpl.java:149)
at org.jboss.osgi.framework.packageadmin.PackageAdminImpl.getExportedPackages(PackageAdminImpl.java:176)
at org.apache.aries.jmx.util.FrameworkUtils.getBundleImportedPackages(FrameworkUtils.java:265)
--
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
14 years, 3 months
[JBoss JIRA] Created: (JBOSGI-115) service managers must have a Service Factory registered
by Thomas Diesler (JIRA)
service managers must have a Service Factory registered
-------------------------------------------------------
Key: JBOSGI-115
URL: https://jira.jboss.org/jira/browse/JBOSGI-115
Project: JBoss OSGi
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Reporter: Thomas Diesler
Fix For: JBossOSGi 1.0.x
However, the activation needs a trigger to start. There are two triggers.
• Service Request - All service managers must have a Service Factory registered
with the OSGi service registry whenever that service manager is
enabled, see Enabled on page 672.
• Eager Managers - To kick start the application in the bundle, the Blueprint
Container must ask all eager managers to provide a component
instance, thereby activating these managers, see Eager Instantiation on
page 651.
--
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
14 years, 3 months