Author: alessio.soldano(a)jboss.com
Date: 2009-05-25 07:04:22 -0400 (Mon, 25 May 2009)
New Revision: 10087
Modified:
framework/trunk/src/main/java/org/jboss/wsf/framework/DefaultSPIProvider.java
Log:
[JBWS-2652] Enabling StackConfigFactory retrieval
Modified: framework/trunk/src/main/java/org/jboss/wsf/framework/DefaultSPIProvider.java
===================================================================
---
framework/trunk/src/main/java/org/jboss/wsf/framework/DefaultSPIProvider.java 2009-05-25
11:02:42 UTC (rev 10086)
+++
framework/trunk/src/main/java/org/jboss/wsf/framework/DefaultSPIProvider.java 2009-05-25
11:04:22 UTC (rev 10087)
@@ -47,6 +47,7 @@
import org.jboss.wsf.spi.management.EndpointMetricsFactory;
import org.jboss.wsf.spi.management.EndpointRegistryFactory;
import org.jboss.wsf.spi.management.ServerConfigFactory;
+import org.jboss.wsf.spi.management.StackConfigFactory;
import org.jboss.wsf.spi.metadata.j2ee.serviceref.ServiceRefMetaDataParserFactory;
import org.jboss.wsf.spi.serviceref.ServiceRefBinderFactory;
import org.jboss.wsf.spi.serviceref.ServiceRefHandlerFactory;
@@ -108,6 +109,10 @@
{
returnType = (T)loadService(spiType,
DefaultServiceRefMetaDataParserFactory.class.getName());
}
+ else if (StackConfigFactory.class.equals(spiType))
+ {
+ returnType = (T)loadService(spiType, null);
+ }
else if (ServerConfigFactory.class.equals(spiType))
{
returnType = (T)loadService(spiType, ServerConfigFactoryImpl.class.getName());
Show replies by date