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
FieldsModifier and TypeFieldDescriptionprotected final RegisteredServiceMapperprotected final WARestClientFields inherited from interface org.apereo.cas.services.ServiceRegistry
BEAN_NAME -
Constructor Summary
ConstructorsConstructorDescriptionWAServiceRegistry(WARestClient restClient, RegisteredServiceMapper registeredServiceMapper, ConfigurableApplicationContext applicationContext, Collection<org.apereo.cas.services.ServiceRegistryListener> serviceRegistryListeners) -
Method Summary
Modifier and TypeMethodDescriptionbooleandelete(org.apereo.cas.services.RegisteredService registeredService) voidorg.apereo.cas.services.RegisteredService<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, publishEventMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apereo.cas.util.NamedObject
getNameMethods 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
-