Package org.nuxeo.ecm.webengine
Interface ResourceRegistry
- All Known Implementing Classes:
EmptyRegistry
public interface ResourceRegistry
To be implemented by backends to allow WebEngine dynamically register/unregister resources
- Author:
- Bogdan Stefanescu
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addBinding
(ResourceBinding binding) void
addMessageBodyReader
(javax.ws.rs.ext.MessageBodyReader<?> reader) void
addMessageBodyWriter
(javax.ws.rs.ext.MessageBodyWriter<?> writer) void
clear()
void
reload()
void
removeBinding
(ResourceBinding binding)
-
Method Details
-
addBinding
-
removeBinding
-
clear
void clear() -
reload
void reload() -
getBindings
ResourceBinding[] getBindings() -
addMessageBodyWriter
void addMessageBodyWriter(javax.ws.rs.ext.MessageBodyWriter<?> writer) -
addMessageBodyReader
void addMessageBodyReader(javax.ws.rs.ext.MessageBodyReader<?> reader)
-