org.apache.aries.samples.ariestrader.util
Class ServiceUtilities

java.lang.Object
  extended by org.apache.aries.samples.ariestrader.util.ServiceUtilities

public class ServiceUtilities
extends Object

ServiceUtilities provides servlet specific client side utility functions.


Constructor Summary
ServiceUtilities()
           
 
Method Summary
static Object getOSGIService(String serviceName)
          Lookup and return an osgi service
static Object getOSGIService(String serviceName, String filter)
          Lookup and return an osgi service
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceUtilities

public ServiceUtilities()
Method Detail

getOSGIService

public static final Object getOSGIService(String serviceName)
Lookup and return an osgi service

Returns:
Object
Throws:
javax.io.IOException - If an exception occurs during the service lookup

getOSGIService

public static final Object getOSGIService(String serviceName,
                                          String filter)
Lookup and return an osgi service

Returns:
Object


Copyright © 2009-2012 The Apache Software Foundation. All Rights Reserved.