org.mule.registry
Interface Registry
- All Known Implementing Classes:
- AbstractRegistry
- public interface Registry
- Author:
- Guillaume Nodet
getStoreLocation
public String getStoreLocation()
getComponents
public RegistryComponent[] getComponents()
getComponent
public RegistryComponent getComponent(String name)
getManagementContext
public ManagementContext getManagementContext()
addComponent
public RegistryComponent addComponent(String name,
ComponentType type)
throws RegistryException
- Throws:
RegistryException
removeComponent
public void removeComponent(RegistryComponent component)
- Remove a registered component from the list. Internal use only.
- Parameters:
component
- the component to remove
getComponents
public RegistryComponent[] getComponents(ComponentType type)
- Return all engines.
- Returns:
addTransientComponent
public RegistryComponent addTransientComponent(String name,
ComponentType type,
Object component,
Object bootstrap)
throws RegistryException
- Throws:
RegistryException
getLibraries
public Library[] getLibraries()
getLibrary
public Library getLibrary(String name)
addLibrary
public Library addLibrary(String name)
throws RegistryException
- Throws:
RegistryException
removeLibrary
public void removeLibrary(Library library)
getAssemblies
public Assembly[] getAssemblies()
getAssembly
public Assembly getAssembly(String name)
addAssembly
public Assembly addAssembly(String name)
removeAssembly
public void removeAssembly(Assembly assembly)
addTransientUnit
public void addTransientUnit(String suName,
RegistryComponent component,
String installRoot)
throws RegistryException
- Throws:
RegistryException
start
public void start()
throws RegistryException
- Throws:
RegistryException
shutDown
public void shutDown()
throws RegistryException
- Throws:
RegistryException
save
public void save()
throws RegistryException
- Throws:
RegistryException
createComponent
public RegistryComponent createComponent(String name,
ComponentType type)
createAssembly
public Assembly createAssembly(String name)
createUnit
public Unit createUnit(String name)
createLibrary
public Library createLibrary(String name)
Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.