public abstract class BaseEndpoint extends Object implements org.springframework.context.ApplicationContextAware, org.springframework.context.MessageSourceAware
Modifier and Type | Field and Description |
---|---|
protected org.springframework.context.ApplicationContext |
context |
protected org.springframework.context.MessageSource |
messageSource |
Constructor and Description |
---|
BaseEndpoint() |
Modifier and Type | Method and Description |
---|---|
org.springframework.context.ApplicationContext |
getApplicationContext() |
org.springframework.context.MessageSource |
getMessageSource() |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
void |
setMessageSource(org.springframework.context.MessageSource messageSource) |
protected org.springframework.context.ApplicationContext context
protected org.springframework.context.MessageSource messageSource
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
setApplicationContext
in interface org.springframework.context.ApplicationContextAware
org.springframework.beans.BeansException
public void setMessageSource(org.springframework.context.MessageSource messageSource)
setMessageSource
in interface org.springframework.context.MessageSourceAware
public org.springframework.context.ApplicationContext getApplicationContext()
public org.springframework.context.MessageSource getMessageSource()
Copyright © 2020. All rights reserved.