I am not able to resolve a component in through my property files. I have re-created getter setters, checked spellings, even appended components in initial.properties. Its not picking up that path from properties file and showing null when checked from dyn/admin.
It works fine if I copy the path from tha same property file and change value through dyn/admin.
Is there any other way, we can check why this component is not getting resolved?
Class1:
public class OMSCustomerInfoMessageListener extends MessageServiceListener {
private JAXBContext jaxbContext;
private OMSCustomerInfoUpdateManager customerInfoUpdateManager;
-------XXXXXXXXXXX----------------------------------------------
-------XXXXXXXXXXX----rest of code------------------------------
public OMSCustomerInfoUpdateManager getCustomerInfoUpdateManager() {
return customerInfoUpdateManager;
}
public void setCustomerInfoUpdateManager(OMSCustomerInfoUpdateManager
pCustomerInfoUpdateManager) {
customerInfoUpdateManager = pCustomerInfoUpdateManager;
}
}
Class1's properties file:
$class=com.projectname.oms.listener.OMSCustomerInfoMessageListener
$scope=global
customerInfoUpdateManager=/com/projectname/oms/manager/OMSCustomerInfoUpdateManager
Spellings are fine. What could be the issue?
Regards
This generally happens in two cases:-
Please check this.