Package com.dtolabs.rundeck.core.common
Interface IServicesRegistration
-
- All Known Subinterfaces:
IExecutionServicesRegistration,IFramework,IFrameworkServices
- All Known Implementing Classes:
BaseFrameworkExecutionServices,Framework,FrameworkBase,ServiceSupport
public interface IServicesRegistrationregister, access, override services by name
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FrameworkSupportServicegetService(java.lang.String name)voidoverrideService(java.lang.String name, FrameworkSupportService service)Override existing registrationvoidsetService(java.lang.String name, FrameworkSupportService service)Set a service by name if not yet set, will not override existing registration
-
-
-
Method Detail
-
getService
FrameworkSupportService getService(java.lang.String name)
- Parameters:
name- service name- Returns:
- a service by name
-
setService
void setService(java.lang.String name, FrameworkSupportService service)Set a service by name if not yet set, will not override existing registration- Parameters:
name- nameservice- service, or null to remove the registration
-
overrideService
void overrideService(java.lang.String name, FrameworkSupportService service)Override existing registration- Parameters:
name- nameservice- service
-
-