1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 package com.hack23.cia.web.impl.ui.application.views.admin.agentoperations;
20
21 import org.springframework.beans.factory.config.ConfigurableBeanFactory;
22 import org.springframework.context.ApplicationContext;
23 import org.springframework.context.annotation.Scope;
24 import org.springframework.stereotype.Service;
25
26 import com.hack23.cia.web.impl.ui.application.views.admin.common.AbstractAdminView;
27 import com.hack23.cia.web.impl.ui.application.views.common.pagemode.PageModeContentFactory;
28 import com.hack23.cia.web.impl.ui.application.views.common.viewnames.AdminViews;
29 import com.vaadin.spring.annotation.SpringView;
30
31
32
33
34 @Service
35 @Scope(value = ConfigurableBeanFactory.SCOPE_PROTOTYPE)
36 @SpringView(name = AgentOperationView.NAME)
37 public final class AgentOperationView extends AbstractAdminView {
38
39
40 private static final long serialVersionUID = 1L;
41
42
43 public static final String NAME = AdminViews.ADMIN_AGENT_OPERATIONVIEW_NAME;
44
45
46
47
48
49
50
51 public AgentOperationView(final ApplicationContext context) {
52 super(context.getBeansOfType(PageModeContentFactory.class), NAME);
53 }
54
55 }