|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JNDIProviderAdmin
This interface defines the OSGi service interface for the JNDIProviderAdmin
service.
This service provides the ability to resolve JNDI References in a dynamic
fashion that does not require calls to
NamingManager.getObjectInstance()
. The methods of this service
provide similar reference resolution, but rely on the OSGi Service Registry
in order to find ObjectFactory
instances that can convert a
Reference to an Object.
This service will typically be used by OSGi-aware JNDI Service Providers.
Method Summary | |
---|---|
Object |
getObjectInstance(Object refInfo,
Name name,
Context context,
Map<?,?> environment)
Resolve the object from the given reference. |
Object |
getObjectInstance(Object refInfo,
Name name,
Context context,
Map<?,?> environment,
Attributes attributes)
Resolve the object from the given reference. |
Method Detail |
---|
Object getObjectInstance(Object refInfo, Name name, Context context, Map<?,?> environment) throws Exception
refInfo
- Reference infoname
- the JNDI name associated with this referencecontext
- the JNDI context associated with this referenceenvironment
- the JNDI environment associated with this JNDI context
Exception
- in the event that an error occurs while attempting to
resolve the JNDI reference.Object getObjectInstance(Object refInfo, Name name, Context context, Map<?,?> environment, Attributes attributes) throws Exception
refInfo
- Reference infoname
- the JNDI name associated with this referencecontext
- the JNDI context associated with this referenceenvironment
- the JNDI environment associated with this JNDI contextattributes
- the naming attributes to use when resolving this object
Exception
- in the event that an error occurs while attempting to
resolve the JNDI reference.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |