Class JakartaRsLoader
java.lang.Object
dev.getelements.elements.app.serve.loader.JakartaRsLoader
- All Implemented Interfaces:
AppServeConstants,Loader
Searches an
Element for a service of type Application and loads it into the application container
making all types specified in the Application available as RESTful API Calls.-
Field Summary
FieldsFields inherited from interface dev.getelements.elements.app.serve.AppServeConstants
APPLICATION_PREFIX -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.jetty.server.Handler.Sequencevoidload(ApplicationElementService.ApplicationElementRecord record, Element element) Loads the specificElementfrom the suppliedApplicationElementService.ApplicationElementRecordvoidsetHttpContextRoot(HttpContextRoot httpContextRoot) voidsetSequence(org.eclipse.jetty.server.Handler.Sequence sequence)
-
Field Details
-
APP_PREFIX_FORMAT
- See Also:
-
HANDLER_SEQUENCE
- See Also:
-
-
Constructor Details
-
JakartaRsLoader
public JakartaRsLoader()
-
-
Method Details
-
load
Description copied from interface:LoaderLoads the specificElementfrom the suppliedApplicationElementService.ApplicationElementRecord -
getSequence
public org.eclipse.jetty.server.Handler.Sequence getSequence() -
setSequence
@Inject public void setSequence(@Named("dev.getelements.elements.app.serve.handler.rs") org.eclipse.jetty.server.Handler.Sequence sequence) -
getHttpContextRoot
-
setHttpContextRoot
-