org.apache.servicemix.document
Interface DocumentRepository

All Known Implementing Classes:
DocumentRepositoryImpl

public interface DocumentRepository

Registers an existing document so that it can be accessed from OSGi using the given url.


Method Summary
 String register(byte[] data)
           
 String register(InputStream is)
           
 String register(Resource res)
           
 void unregister(String url)
           
 

Method Detail

register

String register(Resource res)

register

String register(InputStream is)
                throws IOException
Throws:
IOException

register

String register(byte[] data)

unregister

void unregister(String url)


Copyright © 2005-2012 FuseSource. All Rights Reserved.