Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 11c7404610d0c865a1dcc2e37c11f63f718484ef (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xmlns:osgi="http://www.springframework.org/schema/osgi"
	xmlns:util="http://www.springframework.org/schema/util"
	xsi:schemaLocation="http://www.springframework.org/schema/osgi http://www.springframework.org/schema/osgi/spring-osgi-1.0.xsd
		http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
		http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-2.0.xsd">

<!-- SERVICES FOR THE CORE SHELL SYSTEM -->

	<osgi:reference id="quasiFrameworkFactory" interface="org.eclipse.virgo.kernel.osgi.quasi.QuasiFrameworkFactory" />

	<osgi:reference id="moduleContextAccessor" interface="org.eclipse.virgo.kernel.module.ModuleContextAccessor" />

	<osgi:reference id="eventLogger" interface="org.eclipse.virgo.medic.eventlog.EventLogger" />

	<osgi:reference id="configAdmin" interface="org.osgi.service.cm.ConfigurationAdmin" />

	<osgi:service ref="commandProcessor" interface="org.eclipse.virgo.kernel.shell.internal.CommandProcessor" />
	
	<osgi:service ref="singleCommandExecutor" interface="org.eclipse.virgo.kernel.shell.CommandExecutor" />
	
	<osgi:service ref="stateService" interface="org.eclipse.virgo.kernel.shell.state.StateService" />

	<osgi:reference id="userRegionBundleContext" interface="org.osgi.framework.BundleContext" filter="(org.eclipse.virgo.kernel.regionContext=true)"/>
	
	<osgi:reference id="deployer" interface="org.eclipse.virgo.kernel.deployer.core.ApplicationDeployer"/>

    <osgi:service ref="modelAccessorHelper" interface="org.eclipse.virgo.kernel.shell.model.helper.RamAccessorHelper" />
    
    <osgi:reference id="regionDigraph" interface="org.eclipse.virgo.kernel.osgi.region.RegionDigraph" />
    
<!-- SERVICES FOR THE TYPE CONVERTERS -->

	<osgi:service ref="longConverter" interface="org.eclipse.virgo.kernel.shell.Converter">
		<osgi:service-properties>
			<entry>
				<key><util:constant static-field="org.eclipse.virgo.kernel.shell.Converter.CONVERTER_CLASSES"/></key>
				<value>#{longConverter.getTypes()}</value>
			</entry>
		</osgi:service-properties>
	</osgi:service>

	<osgi:service ref="stringConverter" interface="org.eclipse.virgo.kernel.shell.Converter">
		<osgi:service-properties>
			<entry>
				<key><util:constant static-field="org.eclipse.virgo.kernel.shell.Converter.CONVERTER_CLASSES"/></key>
				<value>#{stringConverter.getTypes()}</value>
			</entry>
		</osgi:service-properties>
	</osgi:service>

<!-- SERVICES FOR THE COMMAND PROVIDERS -->

	<osgi:service ref="helpCommand" auto-export="class-hierarchy"/>
	
	<osgi:service ref="installCommand" auto-export="class-hierarchy"/>	
	
	<osgi:service ref="shutdownCommand" auto-export="class-hierarchy"/>
	
	<osgi:service ref="exitCommand" auto-export="class-hierarchy"/>

	<osgi:service ref="serviceCommands" auto-export="class-hierarchy"/>

	<osgi:service ref="bundleCommands" auto-export="class-hierarchy"/>

	<osgi:service ref="packageCommands" auto-export="class-hierarchy"/>

	<osgi:service ref="configCommands" auto-export="class-hierarchy"/>

	<osgi:service ref="planCommands" auto-export="class-hierarchy"/>

	<osgi:service ref="parCommands" auto-export="class-hierarchy"/>

	<osgi:reference id="objectNameCreator" interface="org.eclipse.virgo.kernel.model.management.RuntimeArtifactModelObjectNameCreator"/>

	<osgi:service ref="helpCommandCompleter" interface="org.eclipse.virgo.kernel.shell.CommandCompleter">
		<osgi:service-properties>
			<entry>
				<key><util:constant static-field="org.eclipse.virgo.kernel.shell.CommandCompleter.SERVICE_PROPERTY_COMPLETER_COMMAND_NAMES"/></key>
				<value>help</value>
			</entry>
		</osgi:service-properties>
	</osgi:service>

	<osgi:service ref="bundleCompleter" interface="org.eclipse.virgo.kernel.shell.CommandCompleter">
		<osgi:service-properties>
			<entry>
				<key><util:constant static-field="org.eclipse.virgo.kernel.shell.CommandCompleter.SERVICE_PROPERTY_COMPLETER_COMMAND_NAMES"/></key>
				<value>bundle</value>
			</entry>
		</osgi:service-properties>
	</osgi:service>
	
	<osgi:service ref="packageCompleter" interface="org.eclipse.virgo.kernel.shell.CommandCompleter">
		<osgi:service-properties>
			<entry>
				<key><util:constant static-field="org.eclipse.virgo.kernel.shell.CommandCompleter.SERVICE_PROPERTY_COMPLETER_COMMAND_NAMES"/></key>
				<value>package</value>
			</entry>
		</osgi:service-properties>
	</osgi:service>

	<osgi:service ref="configCompleter" interface="org.eclipse.virgo.kernel.shell.CommandCompleter">
		<osgi:service-properties>
			<entry>
				<key><util:constant static-field="org.eclipse.virgo.kernel.shell.CommandCompleter.SERVICE_PROPERTY_COMPLETER_COMMAND_NAMES"/></key>
				<value>config</value>
			</entry>
		</osgi:service-properties>
	</osgi:service>
	
	<osgi:service ref="parCompleter" interface="org.eclipse.virgo.kernel.shell.CommandCompleter">
		<osgi:service-properties>
			<entry>
				<key><util:constant static-field="org.eclipse.virgo.kernel.shell.CommandCompleter.SERVICE_PROPERTY_COMPLETER_COMMAND_NAMES"/></key>
				<value>par</value>
			</entry>
		</osgi:service-properties>
	</osgi:service>
	
	<osgi:service ref="planCompleter" interface="org.eclipse.virgo.kernel.shell.CommandCompleter">
		<osgi:service-properties>
			<entry>
				<key><util:constant static-field="org.eclipse.virgo.kernel.shell.CommandCompleter.SERVICE_PROPERTY_COMPLETER_COMMAND_NAMES"/></key>
				<value>plan</value>
			</entry>
		</osgi:service-properties>
	</osgi:service>
	
		<osgi:service ref="installCompleter" interface="org.eclipse.virgo.kernel.shell.CommandCompleter">
		<osgi:service-properties>
			<entry>
				<key><util:constant static-field="org.eclipse.virgo.kernel.shell.CommandCompleter.SERVICE_PROPERTY_COMPLETER_COMMAND_NAMES"/></key>
				<value>install</value>
			</entry>
		</osgi:service-properties>
	</osgi:service>

</beans>

Back to the top