jbossas/jboss-as — pull request #1089 by bosschaert (2012-01-12 15:35:57+00:00)
Title: AS7-3286 Register InitialContextFactoryBuilder service with the OSGi layer

Similar code was already in place for the InitialContext. I generalized
this into a single generic service registration class.

Also found a bug in the JBoss InitialContextFactoryBuilder in that it
didn't accept a null argument, which the spec allows. I fixed this.

The above is tested in the provided JNDITestCase integration test.