org.ops4j.pax.radman
Interface RadmanService

All Known Subinterfaces:
GatewayRadmanService

public interface RadmanService

RadmanService provides an entry point to manage an OSGi container instance. TODO Sort this document.

Since:
0.1.0
Author:
Edward Yakop, Gavin Bong

Method Summary
 java.lang.Object getService(java.lang.String aServiceClassName)
          Returns the service given the specified aServiceClassName.
 java.util.Set getServices()
          Returns the available service of this RadmanService instance.
 

Method Detail

getServices

java.util.Set getServices()
Returns the available service of this RadmanService instance. Returns an empty set if there is no services available.

Returns:
The available service.
Since:
0.1.0
See Also:
Collections.EMPTY_SET

getService

java.lang.Object getService(java.lang.String aServiceClassName)
                            throws java.lang.IllegalArgumentException
Returns the service given the specified aServiceClassName. Returns null if the requested service is not available.

Parameters:
aServiceClassName - The service class. This argument must not be null.
Returns:
The radman service.
Throws:
java.lang.IllegalArgumentException - Thrown if the specified aServiceClassName is null.
Since:
0.1.0
See Also:
Class.getName()


Copyright © 2008. All Rights Reserved.