public interface ApplicationFactory
Application provided an instance of
Environment. The implementations are identified
through ServiceLoader.| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Application |
createApplication(com.fredhopper.environment.Environment environment)
Creates an instance JAX-RS
Application. |
String |
path()
Specifies the context path at which the created
Application at
createApplication(Environment) should be
accessible. |
javax.ws.rs.core.Application createApplication(com.fredhopper.environment.Environment environment)
Application.environment - the Environment of this
application serverApplication instance or
null if no application can be createdString path()
Application at
createApplication(Environment) should be
accessible. The implementations might be able to use
Environment.getContextPath().Copyright © 2015–2016 SDL Fredhopper. All rights reserved.