<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<tt><code>I'd prefer an operation 'list-bundles' with every bundle
being an addressable resource. The attributes you mention are
fine for a start, however please have a look at <a
href="http://www.osgi.org/javadoc/r4v42/org/osgi/jmx/framework/BundleStateMBean.html#BUNDLE_TYPE">BUNDLE_TYPE</a>
and check whether you want to support one or the other as well.
The list of supported attributes can always be expanded. <br>
<br>
Strictly speaking the start-level is not a property of the
framework, but of the StartLevel service. It'd be better to
model that service as an addressable resource. In future there
will probably be more services<br>
<br>
/subsystem=osgi/service=startlevel:write-attribute(name=startlevel,value=5)<br>
<br>
For consistency the bundle operations should be called
start/stop </code></tt><br>
<tt><code><br>
</code></tt><tt><code>/subsystem=osgi/bundle=1:start<br>
</code></tt><tt><code>/subsystem=osgi/bundle=1:stop<br>
<br>
Are you planning to support start options?<br>
<br>
Glad you considered domain mode ;-)<br>
<br>
cheers<br>
-thomas<br>
</code></tt><tt><code> </code></tt><br>
On 09/28/2011 05:57 PM, David Bosschaert wrote:
<blockquote cite="mid:4E8343D1.2020300@redhat.com" type="cite">
<pre wrap="">Hi all,
I'm planning to add some runtime management via the Detyped API to the
OSGi subsystem. After getting some staring point input from Brian and
Thomas I wrote a page on how an initial implementation could look like.
Any feedback appreciated:
<a class="moz-txt-link-freetext" href="http://community.jboss.org/wiki/OSGiRuntimeManagementUsingDetypedAPI">http://community.jboss.org/wiki/OSGiRuntimeManagementUsingDetypedAPI</a>
Cheers,
David
_______________________________________________
jboss-as7-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:jboss-as7-dev@lists.jboss.org">jboss-as7-dev@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/jboss-as7-dev">https://lists.jboss.org/mailman/listinfo/jboss-as7-dev</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Thomas Diesler
JBoss OSGi Lead
JBoss, a division of Red Hat
xxxxxxxxxxxxxxxxxxxxxxxxxxxx
</pre>
</body>
</html>