JMFSchema findSchema ( long schemaId ) throws MessageStoreException { Long storeId = schemaIndex . get ( Long . valueOf ( schemaId ) ) ; if ( storeId != null ) { AbstractItem item = findById ( storeId . longValue ( ) ) ; return ( ( SchemaStoreItem ) item ) . getSchema ( ) ; } else throw new MessageStoreException ( "Schema not found in store: " + schemaId ) ; }
Restore a schema definition from the store