
|
If you were logged in you would be able to see more operations.
|
|
|
|
Time Tracking:
|
|
Original Estimate:
|
0.12d
|
|
|
Remaining Estimate:
|
0.12d
|
|
|
Time Spent:
|
Not Specified
|
|
|
|
|
Our environment is constricted such that beanRefContext.xml MUST reside under a directory within our jar. Unfortunately, this creates the problem that the default getInstance method of ContextSingletonBeanFactoryLocator does not find our xml configuration.
This can EASILY be fixed by adding a command line VM arg (eg. -Dbean.ref.context.location=...) and changing the implementationm of the default constructor for BatchCommandLineLauncher from:
public BatchCommandLineLauncher() {
beanFactoryLocator = ContextSingletonBeanFactoryLocator.getInstance();
}
To:
public BatchCommandLineLauncher() {
String beanRefContextLocation = System.getProperty("bean.ref.context.location");
beanFactoryLocator = ContextSingletonBeanFactoryLocator.getInstance( beanRefContextLocation );
}
Or something similar. Please fix ASAP.
|
|
Description
|
Our environment is constricted such that beanRefContext.xml MUST reside under a directory within our jar. Unfortunately, this creates the problem that the default getInstance method of ContextSingletonBeanFactoryLocator does not find our xml configuration.
This can EASILY be fixed by adding a command line VM arg (eg. -Dbean.ref.context.location=...) and changing the implementationm of the default constructor for BatchCommandLineLauncher from:
public BatchCommandLineLauncher() {
beanFactoryLocator = ContextSingletonBeanFactoryLocator.getInstance();
}
To:
public BatchCommandLineLauncher() {
String beanRefContextLocation = System.getProperty("bean.ref.context.location");
beanFactoryLocator = ContextSingletonBeanFactoryLocator.getInstance( beanRefContextLocation );
}
Or something similar. Please fix ASAP. |
Show » |
|