Class ByteArrayInhabitantsDescriptor
- java.lang.Object
-
- com.sun.enterprise.module.common_impl.ByteArrayInhabitantsDescriptor
-
- All Implemented Interfaces:
InhabitantsDescriptor
,Serializable
public class ByteArrayInhabitantsDescriptor extends Object implements InhabitantsDescriptor, Serializable
Implementation ofInhabitantsDescriptor
that loads the inhabitants meta-data from a byte array (usually coming from a inhabitant file).- Author:
- Jerome Dochez
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ByteArrayInhabitantsDescriptor(String systemId, byte[] data)
ByteArrayInhabitantsDescriptor(URL systemId, byte[] data)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InputStream
getInputStream()
String
getSystemId()
Return the unique identifier
-
-
-
Field Detail
-
systemId
public final String systemId
-
-
Method Detail
-
getSystemId
public String getSystemId()
Description copied from interface:InhabitantsDescriptor
Return the unique identifier- Specified by:
getSystemId
in interfaceInhabitantsDescriptor
- Returns:
- unique id
-
getInputStream
public InputStream getInputStream()
-
-