Using setRuntimeClass() avoids the need for the user bundle to import akka.osgi.blueprint

This commit is contained in:
Gert Vanthienen 2012-06-18 19:00:36 +02:00
parent 34c99e2113
commit 4f0fe8723b

View file

@ -80,7 +80,7 @@ class NamespaceHandler extends org.apache.aries.blueprint.NamespaceHandler {
factory.setId(findAvailableId(context))
factory.setScope(BeanMetadata.SCOPE_SINGLETON)
factory.setProcessor(true)
factory.setClassName(classOf[BlueprintActorSystemFactory].getName)
factory.setRuntimeClass(classOf[BlueprintActorSystemFactory])
factory.setDestroyMethod(DESTROY_METHOD_NAME)