src/org/nixos/disnix/client/DisnixInterface.java
/**
	 * Acquires a lock on the given profile
	 * 
	 * @param profile Name of the profile
	 * @throws AxisFault If an error occurs with the transport
	 */
Acquires a lock on the given profile

@param profile Name of the profile
@throws AxisFault If an error occurs with the transport
Acquires a lock on the given profile @param profile Name of the profile @throws AxisFault If an error occurs with the transport
public void lock(String profile) throws AxisFault
	{
		try
		{
			QName operation = new QName(NAME_SPACE, "lock");
			Object[] args = { profile };
			serviceClient.invokeRobust(operation, args);
		}
		catch(AxisFault ex)
		{
			throw ex;
		}
		finally
		{
			serviceClient.cleanup();
			serviceClient.cleanupTransport();
		}
	}
public void lock ( String profile ) throws AxisFault { try { QName operation = new QName ( NAME_SPACE , "lock" ) ; Object [ ] args = { profile } ; serviceClient . invokeRobust ( operation , args ) ; } catch ( AxisFault ex ) { throw ex ; } finally { serviceClient . cleanup ( ) ; serviceClient . cleanupTransport ( ) ; } }
Acquires a lock on the given profile
Acquires a lock on the given profile