public class JNDIStateFactoryImpl extends Object implements StateFactory
Constructor and Description |
---|
JNDIStateFactoryImpl() |
Modifier and Type | Method and Description |
---|---|
Object |
getStateToBind(Object orig,
Name name,
Context ctx,
Hashtable<?,?> env)
Returns the CORBA object for a Remote object.
|
public Object getStateToBind(Object orig, Name name, Context ctx, Hashtable<?,?> env) throws NamingException
getStateToBind
in interface StateFactory
orig
- The object to turn into a CORBA object. If not Remote,
or if is a JRMP stub or impl, return null.name
- Ignoredctx
- The non-null CNCtx whose ORB to use.env
- IgnoredConfigurationException
- If the CORBA object cannot be obtained
due to configuration problemsNamingException
- If some other problem prevented a CORBA
object from being obtained from the Remote object.Copyright © 2017 JBoss by Red Hat. All rights reserved.