public class GateAwareObject extends Object implements org.springframework.beans.factory.BeanFactoryAware
ensureGateInit()to force the initialisation of any
Initbeans in the creating
BeanFactory, thus ensuring that GATE will be properly initialised. The method does nothing if the bean factory has not been set (e.g. if the object is being used outside Spring). In this case, we assume that GATE initialisation has already been handled elsewhere.
|Constructor and Description|
|Modifier and Type||Method and Description|
To be called by subclasses to ensure that any
protected void ensureGateInit()
Initbeans in the containing bean factory (and its ancestor factories, if any) have been initialised.
public void setBeanFactory(org.springframework.beans.factory.BeanFactory factory)
Copyright © 2023 GATE. All rights reserved.