src/org/nixos/disnix/client/DisnixInterface.java
/**
	 * Snapshots the state of a component
	 * 
	 * @param derivation Nix store path to or name of the component
	 * @param container Name of the container to which a component is deployed
	 * @param type Type identifier of the service
	 * @param arguments Array of key=value pairs containing environment variables for the activation scripts
	 * @throws AxisFault If an error occurs with the transport
	 */
Snapshots the state of a component


Snapshots the state of a component
public void snapshot(String derivation, String container, String type, String[] arguments) throws AxisFault
	{
		try
		{
			QName operation = new QName(NAME_SPACE, "snapshot");
			Object[] args = { derivation, container, type, arguments };
			serviceClient.invokeRobust(operation, args);
		}
		catch(AxisFault ex)
		{
			throw ex;
		}
		finally
		{
			serviceClient.cleanup();
			serviceClient.cleanupTransport();
		}
	}
public void snapshot ( String derivation , String container , String type , String [ ] arguments ) throws AxisFault { try { QName operation = new QName ( NAME_SPACE , "snapshot" ) ; Object [ ] args = { derivation , container , type , arguments } ; serviceClient . invokeRobust ( operation , args ) ; } catch ( AxisFault ex ) { throw ex ; } finally { serviceClient . cleanup ( ) ; serviceClient . cleanupTransport ( ) ; } }
Snapshots the state of a component
Snapshots the state of a component