- All Superinterfaces:
Object
icegridadmin provides a FileParser object to transform XML files into ApplicationDescriptor objects.
Remarks:
The Slice compiler generated this skeleton interface from Slice interface ::IceGrid::FileParser.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.zeroc.Ice.Object
Object.Ice_invokeResult -
Method Summary
Modifier and TypeMethodDescriptiondefault CompletionStage<OutgoingResponse>dispatch(IncomingRequest request) Dispatches an incoming request to one of the methods of this generated interface, based on the operation name carried by the request.static StringGets the type ID of the associated Slice interface.parseAsync(String xmlFile, AdminPrx adminProxy, Current current) Parses a file.
-
Method Details
-
parseAsync
CompletionStage<ApplicationDescriptor> parseAsync(String xmlFile, AdminPrx adminProxy, Current current) throws ParseException Parses a file.- Parameters:
xmlFile- The full path to the file.adminProxy- AnAdminPrxproxy, used only to retrieve default templates when needed. May be null.current- the Current object of the incoming request- Returns:
- The application descriptor.
- Throws:
ParseException- Thrown when an error occurs during parsing.
-
ice_staticId
Gets the type ID of the associated Slice interface.- Returns:
- the string "::IceGrid::FileParser"
-
dispatch
Dispatches an incoming request to one of the methods of this generated interface, based on the operation name carried by the request.- Specified by:
dispatchin interfaceObject- Parameters:
request- the incoming request- Returns:
- the outgoing response
- Throws:
UserException- if aUserExceptionis thrown, Ice will marshal it as the response payload.
-