*
* @return application representing current set of deployed endpoints.
*/
@Beta
public Application getWsadlApplication() {
Application application = new Application();
for (TyrusEndpointWrapper wrapper : endpointWrappers) {
org.glassfish.tyrus.core.wsadl.model.Endpoint endpoint = new org.glassfish.tyrus.core.wsadl.model.Endpoint();
endpoint.setPath(wrapper.getServerEndpointPath());
application.getEndpoint().add(endpoint);
}
return application;
}