Android Open Source - RoboSpringExt My Robo Spring Service






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;
//w w w  .  ja  v  a2  s  . c  om
import android.content.Intent;
import android.os.IBinder;
import android.util.Log;

import org.robospring.ext.aop.MyBusinessLogicImpl;
import org.robospring.ext.aop.MyClass;
import org.springframework.beans.factory.annotation.Autowired;

public class MyRoboSpringService extends RoboSpringService {
    @Autowired
    private MyClass myClass;
    @Autowired
    private MyBusinessLogicImpl myBusinessLogic;

    public MyRoboSpringService() {
        Log.e("MyRoboSpringService", "<init>");
    }

    @Override
    public int onStartCommand(Intent intent, int flags, int startId) {

        Log.e("MyRoboSpringService", "onStartCommand <init> " + myBusinessLogic.doOtherBusiness(this));
        return super.onStartCommand(intent, flags, startId);
    }

    @Override
    public IBinder onBind(Intent intent) {
        return null;
    }
}




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