com.sun.enterprise.module.common_impl
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 of InhabitantsDescriptor that loads the inhabitants
meta-data from a byte array (usually coming from a inhabitant file).
- Author:
- Jerome Dochez
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
systemId
public final String systemId
ByteArrayInhabitantsDescriptor
public ByteArrayInhabitantsDescriptor(String systemId,
byte[] data)
ByteArrayInhabitantsDescriptor
public ByteArrayInhabitantsDescriptor(URL systemId,
byte[] data)
getSystemId
public String getSystemId()
- Description copied from interface:
InhabitantsDescriptor
- Return the unique identifier
- Specified by:
getSystemId in interface InhabitantsDescriptor
- Returns:
- unique id
createScanner
public Iterable<InhabitantParser> createScanner()
throws IOException
- Description copied from interface:
InhabitantsDescriptor
- Creates an
InhabitantsScanner instance capable of returning the
metadata for all inhabitant.
- Specified by:
createScanner in interface InhabitantsDescriptor
- Returns:
- the scanner for inhabitant metadata
- Throws:
IOException - if the scanner create fails initialization
Copyright © 2011 Oracle Corporation. All Rights Reserved.