org.mule.registry.Registry Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mule-module-registry Show documentation
Show all versions of mule-module-registry Show documentation
Mule Registry for distributed configurations
The newest version!
/*
* $Id: Registry.java 7976 2007-08-21 14:26:13Z dirk.olmes $
* --------------------------------------------------------------------------------------
* Copyright (c) MuleSource, Inc. All rights reserved. http://www.mulesource.com
*
* The software in this package is published under the terms of the CPAL v1.0
* license, a copy of which has been included with this distribution in the
* LICENSE.txt file.
*/
package org.mule.registry;
import org.mule.ManagementContext;
/**
* @author Guillaume Nodet
*/
public interface Registry
{
String getStoreLocation();
RegistryComponent[] getComponents();
RegistryComponent getComponent(String name);
ManagementContext getManagementContext();
RegistryComponent addComponent(String name, ComponentType type) throws RegistryException;
/**
* Remove a registered component from the list. Internal use only.
*
* @param component the component to remove
*/
void removeComponent(RegistryComponent component);
/**
* Return all engines.
*
* @return
*/
RegistryComponent[] getComponents(ComponentType type);
RegistryComponent addTransientComponent(String name,
ComponentType type,
Object component,
Object bootstrap) throws RegistryException;
Library[] getLibraries();
Library getLibrary(String name);
Library addLibrary(String name) throws RegistryException;
void removeLibrary(Library library);
Assembly[] getAssemblies();
Assembly getAssembly(String name);
Assembly addAssembly(String name);
void removeAssembly(Assembly assembly);
void addTransientUnit(String suName, RegistryComponent component, String installRoot)
throws RegistryException;
void start() throws RegistryException;
void shutDown() throws RegistryException;
void save() throws RegistryException;
RegistryComponent createComponent(String name, ComponentType type);
Assembly createAssembly(String name);
Unit createUnit(String name);
Library createLibrary(String name);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy