Environment
EnvironmentCapable
public interface ApplicationContext extends EnvironmentCapable, ListableBeanFactory,
HierarchicalBeanFactory, MessageSource, ApplicationEventPublisher, ResourcePatternResolver {
@Nullable
String getId();
String getApplicationName();
String getDisplayName();
long getStartupDate();
@Nullable
ApplicationContext getParent();
AutowireCapableBeanFactory getAutowireCapableBeanFactory() throws IllegalStateException;
}프로파일
설정 방법
클래스에 정의
메서드에 정의
프로파일 표현식
프로퍼티
설정 방법
IDE 활용
properties 파일 활용
Last updated