public class ServiceRegistryContext extends AbstractServiceRegistryContext implements Context
callerContext, env, parserAPPLET, AUTHORITATIVE, BATCHSIZE, DNS_URL, INITIAL_CONTEXT_FACTORY, LANGUAGE, OBJECT_FACTORIES, PROVIDER_URL, REFERRAL, SECURITY_AUTHENTICATION, SECURITY_CREDENTIALS, SECURITY_PRINCIPAL, SECURITY_PROTOCOL, STATE_FACTORIES, URL_PKG_PREFIXES| Constructor and Description |
|---|
ServiceRegistryContext(org.osgi.framework.BundleContext callerContext,
Hashtable<?,?> environment)
Why Mr Java this class does indeed take a fine copy of the provided
environment.
|
ServiceRegistryContext(org.osgi.framework.BundleContext callerContext,
OsgiName validName,
Map<String,Object> env) |
| Modifier and Type | Method and Description |
|---|---|
NamingEnumeration<NameClassPair> |
list(Name name) |
NamingEnumeration<NameClassPair> |
list(String name) |
NamingEnumeration<Binding> |
listBindings(Name name) |
NamingEnumeration<Binding> |
listBindings(String name) |
Object |
lookup(Name name) |
Object |
lookup(String name) |
addToEnvironment, bind, bind, close, composeName, composeName, createSubcontext, createSubcontext, destroySubcontext, destroySubcontext, getEnvironment, getNameInNamespace, getNameParser, getNameParser, lookupLink, lookupLink, rebind, rebind, removeFromEnvironment, rename, rename, unbind, unbindclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddToEnvironment, bind, bind, close, composeName, composeName, createSubcontext, createSubcontext, destroySubcontext, destroySubcontext, getEnvironment, getNameInNamespace, getNameParser, getNameParser, lookupLink, lookupLink, rebind, rebind, removeFromEnvironment, rename, rename, unbind, unbindpublic ServiceRegistryContext(org.osgi.framework.BundleContext callerContext,
Hashtable<?,?> environment)
environment - public NamingEnumeration<NameClassPair> list(Name name) throws NamingException
list in interface ContextNamingExceptionpublic NamingEnumeration<NameClassPair> list(String name) throws NamingException
list in interface ContextNamingExceptionpublic NamingEnumeration<Binding> listBindings(Name name) throws NamingException
listBindings in interface ContextNamingExceptionpublic NamingEnumeration<Binding> listBindings(String name) throws NamingException
listBindings in interface ContextNamingExceptionpublic Object lookup(Name name) throws NamingException
lookup in interface ContextNamingExceptionpublic Object lookup(String name) throws NamingException
lookup in interface ContextNamingExceptionCopyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.