Nuxeo Enterprise Platform 5.4

org.nuxeo.runtime.binding
Class JndiBinding

java.lang.Object
  extended by org.nuxeo.runtime.binding.JndiBinding
All Implemented Interfaces:
Binding

public class JndiBinding
extends java.lang.Object
implements Binding

Author:
Bogdan Stefanescu

Constructor Summary
JndiBinding(java.lang.String bindingKey, javax.naming.Context ctx, javax.naming.Name name)
           
 
Method Summary
 java.lang.Object get()
          Gets the object instance.
 java.lang.String getKey()
          Gets the binding key.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JndiBinding

public JndiBinding(java.lang.String bindingKey,
                   javax.naming.Context ctx,
                   javax.naming.Name name)
Method Detail

get

public java.lang.Object get()
Description copied from interface: Binding
Gets the object instance. Returns null if the binding is no more valid.

Specified by:
get in interface Binding
Returns:
the object instance or null

getKey

public java.lang.String getKey()
Description copied from interface: Binding
Gets the binding key. The key is used by the service manager to cache bindings and should uniquely identify the bound service.

Specified by:
getKey in interface Binding
Returns:
the binding key, never returns null

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.