]>
git.argeo.org Git - gpl/argeo-slc.git/blob - runtime/org.argeo.slc.support.simple/src/main/java/org/argeo/slc/lib/vbox/VBoxMachine.java
2 * Copyright (C) 2010 Mathieu Baudier <mbaudier@argeo.org>
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
17 package org
.argeo
.slc
.lib
.vbox
;
19 import org
.argeo
.slc
.UnsupportedException
;
20 import org
.argeo
.slc
.build
.Distribution
;
21 import org
.argeo
.slc
.deploy
.DeployedSystem
;
22 import org
.argeo
.slc
.deploy
.DeploymentData
;
23 import org
.argeo
.slc
.deploy
.TargetData
;
24 import org
.springframework
.beans
.factory
.BeanNameAware
;
25 import org
.springframework
.beans
.factory
.InitializingBean
;
27 public class VBoxMachine
implements DeployedSystem
, BeanNameAware
,
29 private String deployedSystemId
= null;
31 private String beanName
;
33 public String
getDeployedSystemId() {
34 return deployedSystemId
;
37 public DeploymentData
getDeploymentData() {
38 throw new UnsupportedException();
41 public Distribution
getDistribution() {
42 throw new UnsupportedException();
45 public TargetData
getTargetData() {
46 throw new UnsupportedException();
49 public String
getName() {
53 public void setName(String name
) {
57 public void setDeployedSystemId(String deployedSystemId
) {
58 this.deployedSystemId
= deployedSystemId
;
61 public void setBeanName(String beanName
) {
65 public void afterPropertiesSet() throws Exception
{