Class WAServiceRegistry
- java.lang.Object
-
- org.apereo.cas.services.AbstractServiceRegistry
-
- org.apache.syncope.wa.starter.services.WAServiceRegistry
-
- All Implemented Interfaces:
org.apereo.cas.services.ServiceRegistry
public class WAServiceRegistry extends org.apereo.cas.services.AbstractServiceRegistry
-
-
Field Summary
Fields Modifier and Type Field Description protected RegisteredServiceMapperregisteredServiceMapperprotected WARestClientwaRestClient
-
Constructor Summary
Constructors Constructor Description WAServiceRegistry(WARestClient restClient, RegisteredServiceMapper registeredServiceMapper, ConfigurableApplicationContext applicationContext, Collection<org.apereo.cas.services.ServiceRegistryListener> serviceRegistryListeners)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleandelete(org.apereo.cas.services.RegisteredService registeredService)voiddeleteAll()org.apereo.cas.services.RegisteredServicefindServiceByExactServiceName(String name)<T extends org.apereo.cas.services.RegisteredService>
TfindServiceByExactServiceName(String name, Class<T> clazz)org.apereo.cas.services.RegisteredServicefindServiceById(long id)<T extends org.apereo.cas.services.RegisteredService>
TfindServiceById(long id, Class<T> clazz)Collection<org.apereo.cas.services.RegisteredService>load()org.apereo.cas.services.RegisteredServicesave(org.apereo.cas.services.RegisteredService registeredService)-
Methods inherited from class org.apereo.cas.services.AbstractServiceRegistry
getApplicationContext, getServiceRegistryListeners, invokeServiceRegistryListenerPostLoad, invokeServiceRegistryListenerPreSave, publishEvent
-
-
-
-
Field Detail
-
waRestClient
protected final WARestClient waRestClient
-
registeredServiceMapper
protected final RegisteredServiceMapper registeredServiceMapper
-
-
Constructor Detail
-
WAServiceRegistry
public WAServiceRegistry(WARestClient restClient, RegisteredServiceMapper registeredServiceMapper, ConfigurableApplicationContext applicationContext, Collection<org.apereo.cas.services.ServiceRegistryListener> serviceRegistryListeners)
-
-
Method Detail
-
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)
-
findServiceById
public <T extends org.apereo.cas.services.RegisteredService> T findServiceById(long id, Class<T> clazz)
-
findServiceByExactServiceName
public <T extends org.apereo.cas.services.RegisteredService> T findServiceByExactServiceName(String name, Class<T> clazz)
-
findServiceByExactServiceName
public org.apereo.cas.services.RegisteredService findServiceByExactServiceName(String name)
-
-