Package com.dooapp.gaedo.finders.repository

Examples of com.dooapp.gaedo.finders.repository.ServiceRepository.values()


   * Publish all services infos. Or, to be more precise, all id based servcies infos
   * @param publisher used publisher
   */
  private void publishAllServcies(ServicePublisher publisher) {
    ServiceRepository repository = ((GaedoResourceApplication) getApplication()).getRepository();
    for(FinderCrudService<?, ?> service : repository.values()) {
      if(service instanceof IdBasedService) {
        if(Serializable.class.isAssignableFrom(service.getContainedClass())) {
          publishService(service, publisher);
        } else {
          logger.log(Level.WARNING, "unable to publish service for non serializable class "+service.getContainedClass());
View Full Code Here


   * Publish all services infos. Or, to be more precise, all id based servcies infos
   * @param publisher used publisher
   */
  private void publishAllServcies(ServicePublisher publisher) {
    ServiceRepository repository = ((GaedoResourceApplication) getApplication()).getRepository();
    for(FinderCrudService<?, ?> service : repository.values()) {
      if(service instanceof IdBasedService) {
        if(Serializable.class.isAssignableFrom(service.getContainedClass())) {
          publishService(service, publisher);
        } else {
          logger.log(Level.WARNING, "unable to publish service for non serializable class "+service.getContainedClass());
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.