public interface ManagementConfiguration
| Modifier and Type | Method and Description |
|---|---|
<T extends ConfigBean> |
createMgmtConfigBean(java.lang.String serviceProviderDescName, java.lang.String configBeanName)
Method to create a new ServiceInstanceDescriptor for a given ServiceProvider.
|
void |
deleteMgmtConfigBean(java.lang.String configBeanName) |
<T extends ConfigBean> |
getMgmtConfigBean(java.lang.String configBeanName)
Management Config Beans are only supported for ServiceInstanceDescriptors.
|
java.util.List<java.lang.String> |
getMgmtConfigBeanNames() |
java.lang.String |
getTenantId() |
java.lang.String getTenantId()
<T extends ConfigBean> T getMgmtConfigBean(java.lang.String configBeanName) throws TenantRegistrationException
T - the classname of the instanceConfigBeanClass attribute of a (SPD) ServiceProviderDescriptor. When this classname is not present in the SPD (legacy jps-config.xml) then it is assumed to be the default classname that would be defined for every SPD as part of this project.configBeanName - it is also the name of the persistence (DAO) layer Service Instance Descriptor.TenantRegistrationException - if there is no registered ServiceInstance Descriptor with the supplied configBeanName<T extends ConfigBean> T createMgmtConfigBean(java.lang.String serviceProviderDescName, java.lang.String configBeanName)
T - the classname of the instanceConfigBeanClass attribute of a (SPD) ServiceProviderDescriptor. When this classname is not present in the SPD (legacy jps-config.xml) then it is assumed to be the default classname that would be defined for every SPD as part of this project.serviceProviderDescName - the name of an existing ServiceProvider Descriptor for which an Instance Descriptor needs to be definedconfigBeanName - the name of the Config Bean and inturn the ServiceInstanceDescriptor to be created new.
void deleteMgmtConfigBean(java.lang.String configBeanName)
throws TenantRegistrationException
configBeanName - delete the named config bean. This would also cause deletion of the corresponding ServiceInstanceDescriptor from the Persistence Layer.TenantRegistrationException - if there is no registered ServiceInstance Descriptor with the supplied configBeanNamejava.util.List<java.lang.String> getMgmtConfigBeanNames()