Nuxeo Enterprise Platform 5.4

org.nuxeo.runtime.binding
Class RuntimeServiceProvider

java.lang.Object
  extended by org.nuxeo.runtime.binding.AbstractServiceProvider
      extended by org.nuxeo.runtime.binding.RuntimeServiceProvider
All Implemented Interfaces:
ServiceProvider, ComponentListener

public class RuntimeServiceProvider
extends AbstractServiceProvider
implements ComponentListener

Author:
Bogdan Stefanescu

Constructor Summary
RuntimeServiceProvider()
           
 
Method Summary
 void destroy()
          The provider is no more needed.
 java.lang.Object getService(java.lang.Class<?> serviceClass, java.lang.String bindingKey)
          Named service lookup is not supported.
 void handleEvent(ComponentEvent event)
           
 
Methods inherited from class org.nuxeo.runtime.binding.AbstractServiceProvider
getManager, setManager
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RuntimeServiceProvider

public RuntimeServiceProvider()
Method Detail

destroy

public void destroy()
Description copied from interface: ServiceProvider
The provider is no more needed. It should immediately release any system resources.

Specified by:
destroy in interface ServiceProvider

getService

public java.lang.Object getService(java.lang.Class<?> serviceClass,
                                   java.lang.String bindingKey)
Named service lookup is not supported.

Specified by:
getService in interface ServiceProvider
Parameters:
serviceClass - the interface of the service
bindingKey - the binding key to use when caching bindings
Returns:
the service instance if any was found or null otherwise

handleEvent

public void handleEvent(ComponentEvent event)
Specified by:
handleEvent in interface ComponentListener

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.