public class GenericApplicationContextUtil extends Object
Modifier and Type | Field and Description |
---|---|
static String |
SPRING_APPLICATION_CONTEXT |
Constructor and Description |
---|
GenericApplicationContextUtil() |
Modifier and Type | Method and Description |
---|---|
static org.springframework.context.support.GenericApplicationContext |
getSpringApplicationContext(org.apache.axis2.description.AxisService axisService,
String contextLocation)
Method to get the spring application context for a spring service
|
static org.springframework.context.support.GenericApplicationContext |
getSpringApplicationContext(InputStream applicationContxtInStream,
String springBeansFilePath) |
static org.springframework.context.support.GenericApplicationContext |
getSpringApplicationContext(String applicationContxtFilePath,
ClassLoader springBeansClassLoader) |
static org.springframework.context.support.GenericApplicationContext |
getSpringApplicationContext(String applicationContxtFilePath,
String springBeansFilePath) |
static org.springframework.context.support.GenericApplicationContext |
getSpringApplicationContextClassPath(ClassLoader classLoader,
String relPath) |
public static final String SPRING_APPLICATION_CONTEXT
public static org.springframework.context.support.GenericApplicationContext getSpringApplicationContext(InputStream applicationContxtInStream, String springBeansFilePath) throws org.apache.axis2.AxisFault
org.apache.axis2.AxisFault
public static org.springframework.context.support.GenericApplicationContext getSpringApplicationContextClassPath(ClassLoader classLoader, String relPath) throws org.apache.axis2.AxisFault
org.apache.axis2.AxisFault
public static org.springframework.context.support.GenericApplicationContext getSpringApplicationContext(String applicationContxtFilePath, ClassLoader springBeansClassLoader) throws org.apache.axis2.AxisFault
org.apache.axis2.AxisFault
public static org.springframework.context.support.GenericApplicationContext getSpringApplicationContext(String applicationContxtFilePath, String springBeansFilePath) throws org.apache.axis2.AxisFault
org.apache.axis2.AxisFault
public static org.springframework.context.support.GenericApplicationContext getSpringApplicationContext(org.apache.axis2.description.AxisService axisService, String contextLocation) throws org.apache.axis2.AxisFault
axisService
- - spring servicecontextLocation
- - location of the application context fileorg.apache.axis2.AxisFault
Copyright © 2023 WSO2. All rights reserved.