Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #39479

Specifying Spring DI XML config file location

Path csiph.com!aioe.org!.POSTED.O5hsyUvK01te0L/SZurVSQ.user.gioia.aioe.org!not-for-mail
From Arne Vajhøj <arne@vajhoej.dk>
Newsgroups comp.lang.java.programmer
Subject Specifying Spring DI XML config file location
Date Tue, 2 Jun 2020 21:25:46 -0400
Organization Aioe.org NNTP Server
Lines 19
Message-ID <rb6u6o$b0m$1@gioia.aioe.org> (permalink)
NNTP-Posting-Host O5hsyUvK01te0L/SZurVSQ.user.gioia.aioe.org
Mime-Version 1.0
Content-Type text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding 7bit
X-Complaints-To abuse@aioe.org
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.8.1
X-Notice Filtered by postfilter v. 0.9.2
Content-Language en-US
X-Mozilla-News-Host news://nntp.aioe.org:119
Xref csiph.com comp.lang.java.programmer:39479

Show key headers only | View raw


If I have some code that does not use Spring DI directly but uses
a library that uses Spring DI, then what are my options for
specifying what XML config file that library should use?

Any class and method:

SomeSpringClass.setDefaultConfigURL("...");

?

Any property:

-Dspring.config.url=....

?

Google does not seem to be my friend today.

Arne

Back to comp.lang.java.programmer | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Specifying Spring DI XML config file location Arne Vajhøj <arne@vajhoej.dk> - 2020-06-02 21:25 -0400
  Re: Specifying Spring DI XML config file location Daniele Futtorovic <da.futt.news@laposte-dot-net.invalid> - 2020-06-04 22:31 +0200
    Re: Specifying Spring DI XML config file location Arne Vajhøj <arne@vajhoej.dk> - 2020-06-04 21:07 -0400
      Re: Specifying Spring DI XML config file location Daniele Futtorovic <da.futt.news@laposte-dot-net.invalid> - 2020-06-05 23:01 +0200
        Re: Specifying Spring DI XML config file location Arne Vajhøj <arne@vajhoej.dk> - 2021-01-04 20:17 -0500

csiph-web