net.sf.sail.core.service.impl
Class SimpleServiceProvider

java.lang.Object
  extended by net.sf.sail.core.service.impl.SimpleServiceProvider
All Implemented Interfaces:
java.beans.beancontext.BeanContextServiceProvider

public class SimpleServiceProvider
extends java.lang.Object
implements java.beans.beancontext.BeanContextServiceProvider

Author:
scytacki

Constructor Summary
SimpleServiceProvider(java.lang.Class<?> serviceClass, java.lang.Object service)
           
 
Method Summary
 java.util.Iterator getCurrentServiceSelectors(java.beans.beancontext.BeanContextServices arg0, java.lang.Class arg1)
           
 java.lang.Object getService(java.beans.beancontext.BeanContextServices arg0, java.lang.Object arg1, java.lang.Class arg2, java.lang.Object arg3)
           
static void registerService(java.beans.beancontext.BeanContextServices bcs, java.lang.Class<?> serviceClass, java.lang.Object service)
           
 void releaseService(java.beans.beancontext.BeanContextServices arg0, java.lang.Object arg1, java.lang.Object arg2)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleServiceProvider

public SimpleServiceProvider(java.lang.Class<?> serviceClass,
                             java.lang.Object service)
Method Detail

registerService

public static void registerService(java.beans.beancontext.BeanContextServices bcs,
                                   java.lang.Class<?> serviceClass,
                                   java.lang.Object service)

getService

public java.lang.Object getService(java.beans.beancontext.BeanContextServices arg0,
                                   java.lang.Object arg1,
                                   java.lang.Class arg2,
                                   java.lang.Object arg3)
Specified by:
getService in interface java.beans.beancontext.BeanContextServiceProvider

releaseService

public void releaseService(java.beans.beancontext.BeanContextServices arg0,
                           java.lang.Object arg1,
                           java.lang.Object arg2)
Specified by:
releaseService in interface java.beans.beancontext.BeanContextServiceProvider

getCurrentServiceSelectors

public java.util.Iterator getCurrentServiceSelectors(java.beans.beancontext.BeanContextServices arg0,
                                                     java.lang.Class arg1)
Specified by:
getCurrentServiceSelectors in interface java.beans.beancontext.BeanContextServiceProvider


Copyright © 2004-2008 TELS Center. All Rights Reserved.