Search:

Type: Posts; User: sakura

Search: Search took 0.16 seconds.

  1. Re: Spring autowired variable is null when accessed from another class

    Thank you. I made the following changes:-

    test-beans.xml


    ...
    <bean id="a"
    class="com.example.A" init-method="init">
    <property name="file" value="sample.properties"/>
    </bean>
  2. Spring autowired variable is null when accessed from another class

    Here's the problem
    I have a class A

    A.java


    public class A {

    private Properties properties = new Properties();
  3. Replies
    1
    Views
    250

    Disable my LAN connection programmatically

    Hi everyone,

    I need to programmatically disable my LAN connection in JAVA. Is there any way to do that?

    Thanks in advance!
Results 1 to 3 of 3