Package org.wso2.carbon.springservices
Class GenericApplicationContextUtil
java.lang.Object
org.wso2.carbon.springservices.GenericApplicationContextUtil
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.springframework.context.support.GenericApplicationContextgetSpringApplicationContext(InputStream applicationContxtInStream, String springBeansFilePath) static org.springframework.context.support.GenericApplicationContextgetSpringApplicationContext(String applicationContxtFilePath, ClassLoader springBeansClassLoader) static org.springframework.context.support.GenericApplicationContextgetSpringApplicationContext(String applicationContxtFilePath, String springBeansFilePath) static org.springframework.context.support.GenericApplicationContextgetSpringApplicationContext(org.apache.axis2.description.AxisService axisService, String contextLocation) Method to get the spring application context for a spring servicestatic org.springframework.context.support.GenericApplicationContextgetSpringApplicationContextClassPath(ClassLoader classLoader, String relPath)
-
Field Details
-
SPRING_APPLICATION_CONTEXT
- See Also:
-
-
Constructor Details
-
GenericApplicationContextUtil
public GenericApplicationContextUtil()
-
-
Method Details
-
getSpringApplicationContext
public static org.springframework.context.support.GenericApplicationContext getSpringApplicationContext(InputStream applicationContxtInStream, String springBeansFilePath) throws org.apache.axis2.AxisFault - Throws:
org.apache.axis2.AxisFault
-
getSpringApplicationContextClassPath
public static org.springframework.context.support.GenericApplicationContext getSpringApplicationContextClassPath(ClassLoader classLoader, String relPath) throws org.apache.axis2.AxisFault - Throws:
org.apache.axis2.AxisFault
-
getSpringApplicationContext
public static org.springframework.context.support.GenericApplicationContext getSpringApplicationContext(String applicationContxtFilePath, ClassLoader springBeansClassLoader) throws org.apache.axis2.AxisFault - Throws:
org.apache.axis2.AxisFault
-
getSpringApplicationContext
public static org.springframework.context.support.GenericApplicationContext getSpringApplicationContext(String applicationContxtFilePath, String springBeansFilePath) throws org.apache.axis2.AxisFault - Throws:
org.apache.axis2.AxisFault
-
getSpringApplicationContext
public static org.springframework.context.support.GenericApplicationContext getSpringApplicationContext(org.apache.axis2.description.AxisService axisService, String contextLocation) throws org.apache.axis2.AxisFault Method to get the spring application context for a spring service- Parameters:
axisService- - spring servicecontextLocation- - location of the application context file- Returns:
- - GenericApplicationContext for the given spring service
- Throws:
org.apache.axis2.AxisFault
-