@Autowired private ApplicationContext applicationContext; String softPath =
" local | long-range /jar package .jar"; URLClassLoader classLoader = new URLClassLoader(new URL[]{new
URL(softPath)}, Thread.currentThread().getContextClassLoader()); Class aClass=
classLoader.loadClass(" Complete interface address (xxx.xxx.xxx.Ixxx)"); ReferenceBean referenceBean
= new ReferenceBean(); referenceBean.setApplicationContext(applicationContext);
referenceBean.setInterface(aClass); referenceBean.setUrl(url);
referenceBean.afterPropertiesSet(); Object out= referenceBean.get();
System.out.println(JSON.toJSONString(out));
 

Technology
©2019-2020 Toolsou All rights reserved,
【Python- data fetch 】 read txt Each line of file generates a list of data ( Essence )2020 year 7 month 12 day webpack Use of common plug-ins JAVA Convert a string to a numeric type Programmer and architect Hua Shan be based on STM32 Design of infrared obstacle avoidance car ( There is a code )PowerShell Use in WebClient Download the file and get the download progress java Several common runtime exceptions and simple examples exercises 11-5 Output string at specified position [work] python read txt Last line of file airflow Timed tasks + Time setting +cron expression