Пример #1
0
 @Inject
 public RestPatchProvider(
     RegistryService registryService,
     JCRNodeFactoryService jcrNodeFactoryService,
     BeanConverter beanConverter,
     UserFactoryService userFactoryService) {
   Registry<String, RestProvider> registry =
       registryService.getRegistry(RestProvider.REST_REGISTRY);
   registry.add(this);
   this.jcrNodeFactoryService = jcrNodeFactoryService;
   this.beanConverter = beanConverter;
   this.userFactoryService = userFactoryService;
 }
Пример #2
0
 /**
  * {@inheritDoc}
  *
  * @see org.sakaiproject.kernel.webapp.Initialisable#destroy()
  */
 public void destroy() {
   registry.remove(this);
 }