Package org.apache.uima.fit.spring.util
Class ResourceInitializationUtil
java.lang.Object
org.apache.uima.fit.spring.util.ResourceInitializationUtil
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> T
initializeBean
(org.springframework.beans.factory.config.AutowireCapableBeanFactory aBeanFactory, T aBean, String aName) Initialize an existing object as a Spring bean.static Resource
initResource
(Resource aResource, org.springframework.context.ApplicationContext aApplicationContext) Handle Spring-initialization of resoures produced by the UIMA framework.
-
Constructor Details
-
ResourceInitializationUtil
public ResourceInitializationUtil()
-
-
Method Details
-
initializeBean
public static <T> T initializeBean(org.springframework.beans.factory.config.AutowireCapableBeanFactory aBeanFactory, T aBean, String aName) Initialize an existing object as a Spring bean. -
initResource
public static Resource initResource(Resource aResource, org.springframework.context.ApplicationContext aApplicationContext) Handle Spring-initialization of resoures produced by the UIMA framework.
-