org.ow2.cmi.loader
Interface IArchiveWrapper

All Superinterfaces:
java.io.Serializable

public interface IArchiveWrapper
extends java.io.Serializable

Interface for archive wrapper.

Author:
The new CMI team

Method Summary
 java.lang.Object getArchiveId()
          Gets the ID of the archive.
 byte[] getData()
           
 void setData(byte[] data)
          Set bytes for an archive.
 

Method Detail

getData

byte[] getData()
Returns:
the bytes array of the archive.

setData

void setData(byte[] data)
Set bytes for an archive.

Parameters:
data - the data to set

getArchiveId

java.lang.Object getArchiveId()
Gets the ID of the archive. Each archive is associated an unique Id in the JGroups cluster.

Returns:
the archiveId


Copyright © 2009 OW2 Consortium. All Rights Reserved.