InputStream in =
Thread.currentThread( ).getContextClassLoader( ).getResourceAsStream( RESOURCE_PATH_SUSHI_PROPS_XML );
XmlObject propsDocXBean = XmlObject.Factory.parse( in );
in.close( );
in = Thread.currentThread( ).getContextClassLoader( ).getResourceAsStream( RESOURCE_PATH_SUSHI_METADATA_XML );
DefinitionsDocument metadataDocXBean = (DefinitionsDocument) XmlObject.Factory.parse( in );
MetadataDescriptorType metadataDesc = metadataDocXBean.getDefinitions( ).getMetadataDescriptorArray( 0 );
in.close( );
ResourcePropertySetMetaData propSetMetaData =
new XmlBeansResourcePropertySetMetaData( propsDocXBean.schemaType( ), metadataDesc );
m_resourcePropSet = new XmlBeansResourcePropertySet( propsDocXBean, propSetMetaData );
}