Android Open Source - RoboSpringExt Robo Spring Application






From Project

Back to project page RoboSpringExt.

License

The source code is released under:

Apache License

If you think the Android project RoboSpringExt listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package org.robospring.ext;
//from w w  w.  jav a 2s .c  o  m
import android.app.Application;
import android.util.Log;

import org.robospring.RoboSpring;
import org.springframework.context.support.AbstractXmlApplicationContext;

public abstract class RoboSpringApplication extends Application {
    @Override
    public void onCreate() {
        super.onCreate();
        long startTime = System.currentTimeMillis();

        RoboSpring.autowire(RoboSpringApplication.this, "applicationContext.xml");

        AbstractXmlApplicationContext ctx = RoboSpring.getContext();

        final long duration = System.currentTimeMillis() - startTime;

        Log.e("RoboSpringApplication", "RoboSpring load Time: " + duration + " ms");

    }

}




Java Source Code List

org.robospring.ext.Location.java
org.robospring.ext.MyApplication.java
org.robospring.ext.MyBroadcastReceiver.java
org.robospring.ext.MyRoboSpringService.java
org.robospring.ext.Person.java
org.robospring.ext.RoboSpringApplication.java
org.robospring.ext.RoboSpringBroadcastReceiver.java
org.robospring.ext.RoboSpringExampleActivity.java
org.robospring.ext.RoboSpringIntentService.java
org.robospring.ext.RoboSpringService.java
org.robospring.ext.aop.BusinessLogicImpl.java
org.robospring.ext.aop.BusinessLogic.java
org.robospring.ext.aop.MyBusinessLogicImpl.java
org.robospring.ext.aop.MyClass.java