[jboss-dev-forums] [JBoss OSGi Development] - Don't leak implementation details

adrian@jboss.org do-not-reply at jboss.com
Wed Nov 11 13:35:24 EST 2009


The method getBundleState() on the OSGiBundleWrapper is package protected
so that ordinary users can't get to the implementation details and do dangerous things.

Making this method public defeats the point of having the wrapper in the first place.

I've moved this mapping "feature" to the OSGiBundleManager, since anybody who can
get access to that, can pretty much do what they like anyway.

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4265121#4265121

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4265121



More information about the jboss-dev-forums mailing list