blob: 93d791942ae85ca50fd5dfea5ce6f189e693500c (
plain)
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
|
package JACE.ServiceConfigurator;
import java.io.*;
import JACE.OS.*;
import java_cup.runtime.*;
class AddServiceObjectNode extends ParseNode
{
public AddServiceObjectNode (int act_num)
{
super(act_num);
this.locator_ = new String();
this.params_ = new String();
}
/* String with possible locator information -- used when trying to load
old C++ format files */
public String locator ()
{
return this.locator_;
}
public String params ()
{
return this.params_;
}
public void params (String params)
{
this.params_ = params;
}
public boolean suspended ()
{
return this.suspended_;
}
public void init(String name, String locator, boolean suspended)
{
super.name_ = name;
this.locator_ = locator;
this.suspended_ = suspended;
}
public void apply ()
{
System.err.println("AddServiceObjectNode apply");
if (JACE.ServiceConfigurator.ServiceConfig.initialize(this) == -1)
ACE.ERROR("Error adding " + this.name_);
}
String params_;
String locator_;
boolean suspended_;
};
|