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:
- ContentHandlerFactory
public class ContentHandlerFactory
- extends MultiplexingFactory
- implements 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 ContentHandler createContentHandler(String contentType)
- Specified by:
createContentHandler in interface ContentHandlerFactory
- See Also:
ContentHandlerFactory.createContentHandler(String)
createInternalContentHandler
public ContentHandler createInternalContentHandler(String contentType)
findAuthorizedContentHandler
public ContentHandler findAuthorizedContentHandler(String contentType)
getParentFactory
public Object getParentFactory()
- Specified by:
getParentFactory in class MultiplexingFactory
setParentFactory
public void setParentFactory(Object parentFactory)
- Specified by:
setParentFactory in class MultiplexingFactory
Copyright © 2007–2014 The Apache Software Foundation. All rights reserved.