Class GitServiceRegistry

java.lang.Object
org.apereo.cas.services.AbstractServiceRegistry
org.apereo.cas.services.GitServiceRegistry
All Implemented Interfaces:
org.apereo.cas.services.ServiceRegistry

public class GitServiceRegistry extends org.apereo.cas.services.AbstractServiceRegistry
Since:
6.1.0
  • Field Summary

    Fields inherited from interface org.apereo.cas.services.ServiceRegistry

    BEAN_NAME
  • Constructor Summary

    Constructors
    Constructor
    Description
    GitServiceRegistry(org.springframework.context.ConfigurableApplicationContext applicationContext, org.apereo.cas.git.GitRepository gitRepository, Collection<org.apereo.cas.util.serialization.StringSerializer<org.apereo.cas.services.RegisteredService>> registeredServiceSerializers, boolean pushChanges, String rootDirectory, Collection<org.apereo.cas.services.ServiceRegistryListener> serviceRegistryListeners, List<GitRepositoryRegisteredServiceLocator> registeredServiceLocators)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    delete(org.apereo.cas.services.RegisteredService registeredService)
     
    void
     
    org.apereo.cas.services.RegisteredService
    findServiceById(long id)
     
    Collection<org.apereo.cas.services.RegisteredService>
     
    org.apereo.cas.services.RegisteredService
    save(org.apereo.cas.services.RegisteredService registeredService)
     

    Methods inherited from class org.apereo.cas.services.AbstractServiceRegistry

    getApplicationContext, getServiceRegistryListeners, publishEvent

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.apereo.cas.services.ServiceRegistry

    findServiceBy, findServiceByExactServiceId, findServiceByExactServiceName, findServiceByExactServiceName, findServiceById, findServicePredicate, getName, getServicesStream, save, save, size
  • Constructor Details

    • GitServiceRegistry

      public GitServiceRegistry(org.springframework.context.ConfigurableApplicationContext applicationContext, org.apereo.cas.git.GitRepository gitRepository, Collection<org.apereo.cas.util.serialization.StringSerializer<org.apereo.cas.services.RegisteredService>> registeredServiceSerializers, boolean pushChanges, String rootDirectory, Collection<org.apereo.cas.services.ServiceRegistryListener> serviceRegistryListeners, List<GitRepositoryRegisteredServiceLocator> registeredServiceLocators)
  • Method Details

    • save

      public org.apereo.cas.services.RegisteredService save(org.apereo.cas.services.RegisteredService registeredService)
    • delete

      public boolean delete(org.apereo.cas.services.RegisteredService registeredService)
    • deleteAll

      public void deleteAll()
    • load

      public Collection<org.apereo.cas.services.RegisteredService> load()
    • findServiceById

      public org.apereo.cas.services.RegisteredService findServiceById(long id)