Ice 3.8
Slice API Reference
Loading...
Searching...
No Matches
FileParser.ice
1// Copyright (c) ZeroC, Inc.
2
3#pragma once
4
5[["cpp:dll-export:ICEGRID_API"]]
6[["cpp:doxygen:include:IceGrid/IceGrid.h"]]
7[["cpp:header-ext:h"]]
8
9[["cpp:include:IceGrid/Config.h"]]
10
11[["js:module:@zeroc/ice"]]
12
13#include "Admin.ice"
14
15["java:identifier:com.zeroc.IceGrid"]
16module IceGrid
17{
18 /// The exception that is thrown when an error occurs during the parsing of an IceGrid XML file.
20 {
21 /// The reason for the failure.
22 string reason;
23 }
24
25 /// `icegridadmin` provides a `FileParser` object to transform XML files into {@link ApplicationDescriptor} objects.
26 interface FileParser
27 {
28 /// Parses a file.
29 /// @param xmlFile The full path to the file.
30 /// @param adminProxy An {@link Admin} proxy, used only to retrieve default templates when needed. May be null.
31 /// @return The application descriptor.
32 /// @throws ParseException Thrown when an error occurs during parsing.
33 idempotent ApplicationDescriptor parse(string xmlFile, Admin* adminProxy)
34 throws ParseException;
35 }
36}
string reason
The reason for the failure.
The exception that is thrown when an error occurs during the parsing of an IceGrid XML file.
Provides administrative access to an IceGrid deployment.
Definition Admin.ice:213
idempotent ApplicationDescriptor parse(string xmlFile, Admin *adminProxy)
Parses a file.
icegridadmin provides a FileParser object to transform XML files into ApplicationDescriptor objects.
Deploy and manage Ice servers.
Definition Admin.ice:21
Describes an application.