org.eclipse.osgi.framework.internal.protocol
Class ContentHandlerFactory
java.lang.Object
org.eclipse.osgi.framework.internal.protocol.MultiplexingFactory
org.eclipse.osgi.framework.internal.protocol.ContentHandlerFactory
- All Implemented Interfaces:
- java.net.ContentHandlerFactory
public class ContentHandlerFactory
- extends MultiplexingFactory
- implements java.net.ContentHandlerFactory
The ContentHandlerFactory is registered with the JVM to provide content handlers
to requestors. The ContentHandlerFactory will first look for built-in content handlers.
If a built in handler exists, this factory will return null. Otherwise, this ContentHandlerFactory
will search the service registry for a maching Content-Handler and, if found, return a
proxy for that content handler.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContentHandlerFactory
public ContentHandlerFactory(BundleContext context,
FrameworkAdaptor adaptor)
createContentHandler
public java.net.ContentHandler createContentHandler(java.lang.String contentType)
- Specified by:
createContentHandler
in interface java.net.ContentHandlerFactory
- See Also:
ContentHandlerFactory.createContentHandler(String)
createInternalContentHandler
public java.net.ContentHandler createInternalContentHandler(java.lang.String contentType)
findAuthorizedContentHandler
public java.net.ContentHandler findAuthorizedContentHandler(java.lang.String contentType)
getParentFactory
public java.lang.Object getParentFactory()
- Specified by:
getParentFactory
in class MultiplexingFactory
setParentFactory
public void setParentFactory(java.lang.Object parentFactory)
- Specified by:
setParentFactory
in class MultiplexingFactory