Nuxeo Enterprise Platform 5.4

org.nuxeo.runtime.binding
Interface Binding

All Known Implementing Classes:
JndiBinding, RuntimeServiceBinding, StaticBinding

public interface Binding

Author:
Bogdan Stefanescu

Method Summary
 java.lang.Object get()
          Gets the object instance.
 java.lang.String getKey()
          Gets the binding key.
 

Method Detail

get

java.lang.Object get()
Gets the object instance. Returns null if the binding is no more valid.

Returns:
the object instance or null

getKey

java.lang.String getKey()
Gets the binding key. The key is used by the service manager to cache bindings and should uniquely identify the bound service.

Returns:
the binding key, never returns null

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.