public class TransientNameService extends Object
The TransientNameService creates the initial NamingContext object.
Constructor and Description |
---|
TransientNameService(ORB orb)
Constructs a new TransientNameService, and creates an initial
NamingContext, whose object
reference can be obtained by the initialNamingContext method.
|
TransientNameService(ORB orb,
String serviceName)
Constructs a new TransientNameService, and creates an initial
NamingContext, whose object
reference can be obtained by the initialNamingContext method.
|
Modifier and Type | Method and Description |
---|---|
Object |
initialNamingContext()
Return the initial NamingContext.
|
public TransientNameService(ORB orb) throws INITIALIZE
orb
- The ORB objectINITIALIZE
- Thrown if
the TransientNameService cannot initialize.public TransientNameService(ORB orb, String serviceName) throws INITIALIZE
orb
- The ORB objectnameserviceName
- Stringified key used for INS Service registryINITIALIZE
- Thrown if
the TransientNameService cannot initialize.public Object initialNamingContext()
Copyright © 2019 JBoss by Red Hat. All rights reserved.