org.apache.cocoon.core.osgi
Class OSGiBootstrapEnvironment.OSGiContext
java.lang.Object
org.apache.cocoon.environment.impl.AbstractContext
org.apache.cocoon.core.osgi.OSGiBootstrapEnvironment.OSGiContext
- All Implemented Interfaces:
- Context
- Enclosing class:
- OSGiBootstrapEnvironment
- public class OSGiBootstrapEnvironment.OSGiContext
- extends AbstractContext
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OSGiBootstrapEnvironment.OSGiContext
public OSGiBootstrapEnvironment.OSGiContext(org.osgi.framework.Bundle bundle)
getAttribute
public Object getAttribute(String name)
setAttribute
public void setAttribute(String name,
Object value)
removeAttribute
public void removeAttribute(String name)
getAttributeNames
public Enumeration getAttributeNames()
getResource
public URL getResource(String path)
throws MalformedURLException
- Throws:
MalformedURLException
getRealPath
public String getRealPath(String path)
getMimeType
public String getMimeType(String file)
getInitParameter
public String getInitParameter(String name)
getResourceAsStream
public InputStream getResourceAsStream(String path)
Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.