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
,org.apereo.cas.util.NamedObject
public class WAServiceRegistry
extends org.apereo.cas.services.AbstractServiceRegistry
-
Field Summary
Modifier and TypeFieldDescriptionprotected final RegisteredServiceMapper
protected final WARestClient
Fields inherited from interface org.apereo.cas.services.ServiceRegistry
BEAN_NAME
-
Constructor Summary
ConstructorDescriptionWAServiceRegistry
(WARestClient restClient, RegisteredServiceMapper registeredServiceMapper, ConfigurableApplicationContext applicationContext, Collection<org.apereo.cas.services.ServiceRegistryListener> serviceRegistryListeners) -
Method Summary
Modifier and TypeMethodDescriptionboolean
delete
(org.apereo.cas.services.RegisteredService registeredService) void
org.apereo.cas.services.RegisteredService
<T extends org.apereo.cas.services.RegisteredService>
TfindServiceByExactServiceName
(String name, Class<T> clazz) org.apereo.cas.services.RegisteredService
findServiceById
(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.RegisteredService
save
(org.apereo.cas.services.RegisteredService registeredService) Methods inherited from class org.apereo.cas.services.AbstractServiceRegistry
getApplicationContext, getServiceRegistryListeners, invokeServiceRegistryListenerPostLoad, invokeServiceRegistryListenerPreSave, publishEvent
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apereo.cas.util.NamedObject
getName
Methods inherited from interface org.apereo.cas.services.ServiceRegistry
findServiceBy, findServiceByExactServiceId, findServicePredicate, getServicesStream, save, save, size
-
Field Details
-
waRestClient
-
registeredServiceMapper
-
-
Constructor Details
-
WAServiceRegistry
public WAServiceRegistry(WARestClient restClient, RegisteredServiceMapper registeredServiceMapper, ConfigurableApplicationContext applicationContext, Collection<org.apereo.cas.services.ServiceRegistryListener> serviceRegistryListeners)
-
-
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
-
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
-
findServiceByExactServiceName
-