page1
WebServices annotations, exemplo, cont
@WebService(
endpointInterface = "serpro.mailarchiver.service.web.ArchiveServices",
serviceName = "ArchiveServices")
@PersistenceAware
public class DefaultArchiveServices
extends BaseService
implements ArchiveServices
{
...
@Autowired
private CreateFolderOperation createFolder;
@Override
public TFolder createFolder(String sessionId, String parentFolderId, String name)
throws ServiceFault {
...
TFolder ret = createFolder.apply(parentFolderId, name);
...
}
...
}