public class PluginContextAware extends Object implements org.springframework.context.ApplicationContextAware
| 构造器和说明 |
|---|
PluginContextAware() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
containsBean(String name) |
String[] |
getAliases(String name) |
org.springframework.context.ApplicationContext |
getApplicationContext() |
String |
getApplicationName() |
static String |
getApplicationName(org.springframework.core.env.Environment environment) |
String |
getApplicationType() |
static String |
getApplicationType(org.springframework.core.env.Environment environment) |
<T> T |
getBean(Class<T> requiredType) |
<T> T |
getBean(Class<T> requiredType,
Object... args) |
Object |
getBean(String name) |
<T> T |
getBean(String name,
Class<T> requiredType) |
Object |
getBean(String name,
Object... args) |
String |
getConfigFormat() |
static String |
getConfigFormat(org.springframework.core.env.Environment environment) |
String |
getConfigPath() |
static String |
getConfigPath(org.springframework.core.env.Environment environment) |
String |
getContextPath() |
static String |
getContextPath(org.springframework.core.env.Environment environment) |
String |
getDefaultPropertiesPath() |
static String |
getDefaultPropertiesPath(org.springframework.core.env.Environment environment) |
org.springframework.core.env.Environment |
getEnvironment() |
String |
getGitGeneratorPath() |
static String |
getGitGeneratorPath(org.springframework.core.env.Environment environment) |
String |
getGitVersionKey() |
static String |
getGitVersionKey(org.springframework.core.env.Environment environment) |
String |
getGroupGeneratorCharacter() |
static String |
getGroupGeneratorCharacter(org.springframework.core.env.Environment environment) |
Integer |
getGroupGeneratorLength() |
static Integer |
getGroupGeneratorLength(org.springframework.core.env.Environment environment) |
String |
getGroupKey() |
static String |
getGroupKey(org.springframework.core.env.Environment environment) |
static org.springframework.context.ApplicationContext |
getStaticApplicationContext() |
static org.springframework.core.env.Environment |
getStaticEnvironment() |
Class<?> |
getType(String name) |
Boolean |
isConfigRestControlEnabled() |
static Boolean |
isConfigRestControlEnabled(org.springframework.core.env.Environment environment) |
Boolean |
isDiscoveryControlEnabled() |
static Boolean |
isDiscoveryControlEnabled(org.springframework.core.env.Environment environment) |
Boolean |
isGitGeneratorEnabled() |
static Boolean |
isGitGeneratorEnabled(org.springframework.core.env.Environment environment) |
Boolean |
isGroupGeneratorEnabled() |
static Boolean |
isGroupGeneratorEnabled(org.springframework.core.env.Environment environment) |
boolean |
isPrototype(String name) |
Boolean |
isRegisterControlEnabled() |
static Boolean |
isRegisterControlEnabled(org.springframework.core.env.Environment environment) |
boolean |
isSingleton(String name) |
boolean |
isTypeMatch(String name,
Class<?> typeToMatch) |
boolean |
isTypeMatch(String name,
org.springframework.core.ResolvableType typeToMatch) |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
setApplicationContext 在接口中 org.springframework.context.ApplicationContextAwarepublic Object getBean(String name) throws org.springframework.beans.BeansException
org.springframework.beans.BeansExceptionpublic <T> T getBean(String name, Class<T> requiredType) throws org.springframework.beans.BeansException
org.springframework.beans.BeansExceptionpublic Object getBean(String name, Object... args) throws org.springframework.beans.BeansException
org.springframework.beans.BeansExceptionpublic <T> T getBean(Class<T> requiredType) throws org.springframework.beans.BeansException
org.springframework.beans.BeansExceptionpublic <T> T getBean(Class<T> requiredType, Object... args) throws org.springframework.beans.BeansException
org.springframework.beans.BeansExceptionpublic boolean containsBean(String name)
public boolean isSingleton(String name) throws org.springframework.beans.factory.NoSuchBeanDefinitionException
org.springframework.beans.factory.NoSuchBeanDefinitionExceptionpublic boolean isPrototype(String name) throws org.springframework.beans.factory.NoSuchBeanDefinitionException
org.springframework.beans.factory.NoSuchBeanDefinitionExceptionpublic boolean isTypeMatch(String name, org.springframework.core.ResolvableType typeToMatch) throws org.springframework.beans.factory.NoSuchBeanDefinitionException
org.springframework.beans.factory.NoSuchBeanDefinitionExceptionpublic boolean isTypeMatch(String name, Class<?> typeToMatch) throws org.springframework.beans.factory.NoSuchBeanDefinitionException
org.springframework.beans.factory.NoSuchBeanDefinitionExceptionpublic Class<?> getType(String name) throws org.springframework.beans.factory.NoSuchBeanDefinitionException
org.springframework.beans.factory.NoSuchBeanDefinitionExceptionpublic org.springframework.context.ApplicationContext getApplicationContext()
public org.springframework.core.env.Environment getEnvironment()
public static org.springframework.context.ApplicationContext getStaticApplicationContext()
public static org.springframework.core.env.Environment getStaticEnvironment()
public Boolean isRegisterControlEnabled()
public Boolean isDiscoveryControlEnabled()
public Boolean isConfigRestControlEnabled()
public String getConfigFormat()
public String getConfigPath()
public String getApplicationName()
public String getApplicationType()
public String getGroupKey()
public String getDefaultPropertiesPath()
public Boolean isGroupGeneratorEnabled()
public Integer getGroupGeneratorLength()
public String getGroupGeneratorCharacter()
public Boolean isGitGeneratorEnabled()
public String getGitGeneratorPath()
public String getGitVersionKey()
public String getContextPath()
public static Boolean isRegisterControlEnabled(org.springframework.core.env.Environment environment)
public static Boolean isDiscoveryControlEnabled(org.springframework.core.env.Environment environment)
public static Boolean isConfigRestControlEnabled(org.springframework.core.env.Environment environment)
public static String getConfigFormat(org.springframework.core.env.Environment environment)
public static String getConfigPath(org.springframework.core.env.Environment environment)
public static String getApplicationName(org.springframework.core.env.Environment environment)
public static String getApplicationType(org.springframework.core.env.Environment environment)
public static String getGroupKey(org.springframework.core.env.Environment environment)
public static String getDefaultPropertiesPath(org.springframework.core.env.Environment environment)
public static Boolean isGroupGeneratorEnabled(org.springframework.core.env.Environment environment)
public static Integer getGroupGeneratorLength(org.springframework.core.env.Environment environment)
public static String getGroupGeneratorCharacter(org.springframework.core.env.Environment environment)
public static Boolean isGitGeneratorEnabled(org.springframework.core.env.Environment environment)
public static String getGitGeneratorPath(org.springframework.core.env.Environment environment)
public static String getGitVersionKey(org.springframework.core.env.Environment environment)
public static String getContextPath(org.springframework.core.env.Environment environment)
Copyright © 2020 Nepxion. All rights reserved.