Class DefaultContextService
- java.lang.Object
-
- org.glassfish.concurrent.runtime.deployer.DefaultContextService
-
- All Implemented Interfaces:
DefaultResourceProxy
,NamedNamingObjectProxy
@Service public class DefaultContextService extends Object implements NamedNamingObjectProxy, DefaultResourceProxy
Naming Object Proxy to handle the Default ContextService. Maps to a pre-configured context service, when binding for a context service reference is absent in the @Resource annotation.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.glassfish.api.naming.DefaultResourceProxy
DefaultResourceProxy.Util
-
-
Constructor Summary
Constructors Constructor Description DefaultContextService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getLogicalName()
String
getPhysicalName()
Object
handle(String name)
Returns the name that will be used to publish this object in the naming manager
-
-
-
Method Detail
-
handle
public Object handle(String name) throws NamingException
Description copied from interface:NamedNamingObjectProxy
Returns the name that will be used to publish this object in the naming manager- Specified by:
handle
in interfaceNamedNamingObjectProxy
- Returns:
- the name to bind
- Throws:
NamingException
-
getPhysicalName
public String getPhysicalName()
- Specified by:
getPhysicalName
in interfaceDefaultResourceProxy
-
getLogicalName
public String getLogicalName()
- Specified by:
getLogicalName
in interfaceDefaultResourceProxy
-
-