Author: richard.opalka(a)jboss.com
Date: 2009-09-30 04:23:15 -0400 (Wed, 30 Sep 2009)
New Revision: 10800
Modified:
framework/branches/ropalka/src/main/java/org/jboss/wsf/framework/DefaultSPIProvider.java
Log:
[JBWS-2674][JBWS-2754] refactoring (WIP)
Modified:
framework/branches/ropalka/src/main/java/org/jboss/wsf/framework/DefaultSPIProvider.java
===================================================================
---
framework/branches/ropalka/src/main/java/org/jboss/wsf/framework/DefaultSPIProvider.java 2009-09-30
08:11:08 UTC (rev 10799)
+++
framework/branches/ropalka/src/main/java/org/jboss/wsf/framework/DefaultSPIProvider.java 2009-09-30
08:23:15 UTC (rev 10800)
@@ -27,6 +27,7 @@
import org.jboss.wsf.framework.http.DefaultHttpContextFactory;
import org.jboss.wsf.framework.invocation.DefaultResourceInjectorFactory;
import org.jboss.wsf.framework.management.DefaultEndpointMetricsFactory;
+import org.jboss.wsf.framework.management.DefaultEndpointRegistryFactory;
import org.jboss.wsf.framework.security.DefaultSecurityAdapterFactory;
import org.jboss.wsf.framework.serviceref.DefaultServiceRefHandlerFactory;
import org.jboss.wsf.framework.serviceref.DefaultServiceRefMetaDataParserFactory;
@@ -39,6 +40,7 @@
import org.jboss.wsf.spi.invocation.ResourceInjectorFactory;
import org.jboss.wsf.spi.invocation.SecurityAdaptorFactory;
import org.jboss.wsf.spi.management.EndpointMetricsFactory;
+import org.jboss.wsf.spi.management.EndpointRegistryFactory;
import org.jboss.wsf.spi.metadata.j2ee.serviceref.ServiceRefMetaDataParserFactory;
import org.jboss.wsf.spi.serviceref.ServiceRefHandlerFactory;
import org.jboss.wsf.spi.util.ServiceLoader;
@@ -94,6 +96,10 @@
{
returnType = loadService(spiType, DefaultSecurityAdapterFactory.class);
}
+ else if (EndpointRegistryFactory.class.equals(spiType))
+ {
+ returnType = loadService(spiType, DefaultEndpointRegistryFactory.class);
+ }
else
{
// SPI provided by either container or stack integration that has no default
implementation
Show replies by date