com.pamarin.osgi.virgosnap.subproject1.controller.SubProject1Controller.java Source code

Java tutorial

Introduction

Here is the source code for com.pamarin.osgi.virgosnap.subproject1.controller.SubProject1Controller.java

Source

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.pamarin.osgi.virgosnap.subproject1.controller;

import java.io.Serializable;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;

/**
 *
 * @author anonymous
 */
@Component
@Scope("session")
public class SubProject1Controller implements Serializable {

    public String getName() {
        return "sub project1";
    }
}