| java.lang.Object com.sun.jbi.management.registry.xml.RegistryUtil
RegistryUtil | public class RegistryUtil (Code) | | Utility class used by the registry implementation
author: Sun Microsystems, Inc. |
Method Summary | |
public void | cleanEntity(ArchiveType type, String name, boolean isInRegistry, boolean isInRepository) Cleans up an entity from the registry and/or the repository. | public synchronized void | syncWithRepository() The components, shared libraries and service assemblies registered in the registry
should be present in the repository and vice versa. |
cleanEntity | public void cleanEntity(ArchiveType type, String name, boolean isInRegistry, boolean isInRepository) throws RegistryException, RepositoryException(Code) | | Cleans up an entity from the registry and/or the repository.
If a service assembly is registered in the repository and not in the registry
then the service assembly is removed from the domain entry as well as any other
installed entry.
Parameters: type - of entity Parameters: name - of the entity Parameters: isInRegistry - indication Parameters: inInReposity - indication throws: RegistryException - if there is any registry related error throws: RepositoryException - if there is any repository related error |
syncWithRepository | public synchronized void syncWithRepository() throws Exception(Code) | | The components, shared libraries and service assemblies registered in the registry
should be present in the repository and vice versa. Any entity outside the
intersection set of the registry/repository will be deleted.
|
|
|