类 SpringExtensionFactory
- java.lang.Object
-
- com.alibaba.dubbo.config.spring.extension.SpringExtensionFactory
-
- 所有已实现的接口:
ExtensionFactory
public class SpringExtensionFactory extends Object implements ExtensionFactory
SpringExtensionFactory
-
-
构造器概要
构造器 构造器 说明 SpringExtensionFactory()
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 static void
addApplicationContext(org.springframework.context.ApplicationContext context)
static void
clearContexts()
static Set<org.springframework.context.ApplicationContext>
getContexts()
<T> T
getExtension(Class<T> type, String name)
Get extension.static void
removeApplicationContext(org.springframework.context.ApplicationContext context)
-
-
-
方法详细资料
-
addApplicationContext
public static void addApplicationContext(org.springframework.context.ApplicationContext context)
-
removeApplicationContext
public static void removeApplicationContext(org.springframework.context.ApplicationContext context)
-
getContexts
public static Set<org.springframework.context.ApplicationContext> getContexts()
-
clearContexts
public static void clearContexts()
-
getExtension
public <T> T getExtension(Class<T> type, String name)
从接口复制的说明:ExtensionFactory
Get extension.- 指定者:
getExtension
在接口中ExtensionFactory
- 参数:
type
- object type.name
- object name.- 返回:
- object instance.
-
-