public void putComponent ( String serviceClass , String serviceName , String componentName , ServiceRecord record ) throws IOException { String path = RegistryUtils . componentPath ( user , serviceClass , serviceName , componentName ) ; registryOperations . mknode ( RegistryPathUtils . parentOf ( path ) , true ) ; registryOperations . bind ( path , record , BindFlags . OVERWRITE ) ; }
Add a component