org.mule.registry.Assembly 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: Assembly.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;
/**
* @author Guillaume Nodet
*/
public interface Assembly extends Entry
{
void restoreState() throws RegistryException;
void saveAndShutdown() throws RegistryException;
boolean isTransient();
void setTransient(boolean isTransient);
/**
* Start the item.
*
* @exception RegistryException if the item fails to start.
*/
String start() throws RegistryException;
/**
* Stop the item. This suspends current messaging activities.
*
* @exception RegistryException if the item fails to stop.
*/
String stop() throws RegistryException;
/**
* Shut down the item. The releases resources, preparatory to uninstallation.
*
* @exception RegistryException if the item fails to shut down.
*/
String shutDown() throws RegistryException;
/**
* Return the Unit of the given name.
*
* @param name the name of the unit
* @return the Unit or null if not found
*/
Unit getUnit(String name);
/**
* Get all units of this Assembly
*
* @return the units of this Assembly
*/
Unit[] getUnits();
/**
* Return the descriptor for this component.
*
* @return
*/
RegistryDescriptor getDescriptor() throws RegistryException;
void setDescriptor(RegistryDescriptor descriptor) throws RegistryException;
String deploy() throws RegistryException;
String undeploy() throws RegistryException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy