LMS

Welcome to the Lobeo Module Server project. Please feel free to submit bugs related to it.
Tasklist

FS#614 - [HttpServer] War using imported classes not declared in the Manifest can cause problem

Attached to Project: LMS
Opened by Ferdinand (PaGaisu) - Friday, 15 March 2013, 16:33 GMT
Task Type Bug Report
Category
Status New
Assigned To Ferdinand (PaGaisu)
Operating System All
Severity Low
Priority Normal
Reported Version alpha6
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

War using imported classes not declared in the Manifest can cause problem (especially when the class is used for a service)


example:


private static class CheckWebSockService implements WebSockService {

/**
* Handle the new web app client
* @param webSockClient the web socket client
*/
public void handle(final WebSockClient webSockClient) {
}
}

//create the CheckWebSockService
CheckWebSockService checkWebSockService = new CheckWebSockService();

Map<String,Object> props = new Hashtable<String,Object>();
props.put("id","qwerty");
this.serviceProvider.registerService(WebSockService.class.getName(), checkWebSockService, props);

and com.lobeo.lms.core.service is omitted in the Import-Package of the Manifest of the War

This task depends upon

Loading...