org.shiftone.ooc.provider
Class SimpleBindingHolder

java.lang.Object
  extended byorg.shiftone.ooc.provider.SimpleBindingHolder
All Implemented Interfaces:
BindingHolder

public class SimpleBindingHolder
extends java.lang.Object
implements BindingHolder

Version:
$Revision: 1.3 $
Author:
Jeff Drost

Constructor Summary
SimpleBindingHolder(javax.naming.Binding binding)
          Constructor SimpleBindingHolder
SimpleBindingHolder(java.lang.String name, java.lang.Object obj)
          Constructor SimpleBindingHolder
 
Method Summary
 javax.naming.Binding resolveBinding()
          Method resolveBinding
 javax.naming.NameClassPair resolveNameClassPair()
          Method resolveNameClassPair
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleBindingHolder

public SimpleBindingHolder(javax.naming.Binding binding)
Constructor SimpleBindingHolder

Parameters:
binding -

SimpleBindingHolder

public SimpleBindingHolder(java.lang.String name,
                           java.lang.Object obj)
Constructor SimpleBindingHolder

Parameters:
name -
obj -
Method Detail

resolveBinding

public javax.naming.Binding resolveBinding()
                                    throws javax.naming.NamingException
Method resolveBinding

Specified by:
resolveBinding in interface BindingHolder
Throws:
javax.naming.NamingException

resolveNameClassPair

public javax.naming.NameClassPair resolveNameClassPair()
                                                throws javax.naming.NamingException
Method resolveNameClassPair

Specified by:
resolveNameClassPair in interface BindingHolder
Throws:
javax.naming.NamingException