com.sun.enterprise.module.common_impl
Class ByteArrayInhabitantsDescriptor

java.lang.Object
  extended by com.sun.enterprise.module.common_impl.ByteArrayInhabitantsDescriptor
All Implemented Interfaces:
InhabitantsDescriptor, java.io.Serializable

public class ByteArrayInhabitantsDescriptor
extends java.lang.Object
implements InhabitantsDescriptor, java.io.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

Field Summary
 java.lang.String systemId
           
 
Constructor Summary
ByteArrayInhabitantsDescriptor(java.lang.String systemId, byte[] data)
           
ByteArrayInhabitantsDescriptor(java.net.URL systemId, byte[] data)
           
 
Method Summary
 java.io.InputStream getInputStream()
           
 java.lang.String getSystemId()
          Return the unique identifier
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

systemId

public final java.lang.String systemId
Constructor Detail

ByteArrayInhabitantsDescriptor

public ByteArrayInhabitantsDescriptor(java.lang.String systemId,
                                      byte[] data)

ByteArrayInhabitantsDescriptor

public ByteArrayInhabitantsDescriptor(java.net.URL systemId,
                                      byte[] data)
Method Detail

getSystemId

public java.lang.String getSystemId()
Description copied from interface: InhabitantsDescriptor
Return the unique identifier

Specified by:
getSystemId in interface InhabitantsDescriptor
Returns:
unique id

getInputStream

public java.io.InputStream getInputStream()


Copyright © 2013 Oracle Corporation. All Rights Reserved.