com.cometway.ak
Class SecureServiceManager.SecureServiceManagerImpl

java.lang.Object
  extended by com.cometway.ak.SecureServiceManager.SecureServiceManagerImpl
All Implemented Interfaces:
ServiceManagerInterface
Enclosing class:
SecureServiceManager

public class SecureServiceManager.SecureServiceManagerImpl
extends java.lang.Object
implements ServiceManagerInterface


Constructor Summary
SecureServiceManager.SecureServiceManagerImpl()
           
 
Method Summary
protected  boolean authenticate(java.lang.Object authorization)
          Used to evaluate authentication; always returns true.
 java.lang.Object getServiceImpl(java.lang.String service_name, java.lang.Object authorization)
          Returns an implementation for the specified service name if one exists; null otherwise.
 java.util.List listServices(java.lang.String serviceName, java.lang.Object authorization)
          Returns a List containing matching implementations for the specified service names.
 boolean registerService(java.lang.String service_name, java.lang.Object service_impl, java.lang.Object authorization)
          Registers the service implementation under the specified service name.
 boolean unregisterService(java.lang.String service_name, java.lang.Object service_impl, java.lang.Object authorization)
          Unregisters the specified service implementation under the specified service name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecureServiceManager.SecureServiceManagerImpl

public SecureServiceManager.SecureServiceManagerImpl()
Method Detail

authenticate

protected boolean authenticate(java.lang.Object authorization)
Used to evaluate authentication; always returns true.


getServiceImpl

public java.lang.Object getServiceImpl(java.lang.String service_name,
                                       java.lang.Object authorization)
Returns an implementation for the specified service name if one exists; null otherwise. Authorization is ignored.

Specified by:
getServiceImpl in interface ServiceManagerInterface

listServices

public java.util.List listServices(java.lang.String serviceName,
                                   java.lang.Object authorization)
Returns a List containing matching implementations for the specified service names.

Specified by:
listServices in interface ServiceManagerInterface

registerService

public boolean registerService(java.lang.String service_name,
                               java.lang.Object service_impl,
                               java.lang.Object authorization)
Registers the service implementation under the specified service name. Authorization is ignored. Returns true if successful; false otherwise.

Specified by:
registerService in interface ServiceManagerInterface

unregisterService

public boolean unregisterService(java.lang.String service_name,
                                 java.lang.Object service_impl,
                                 java.lang.Object authorization)
Unregisters the specified service implementation under the specified service name. Authorization is ignored. Returns true if successful; false otherwise.

Specified by:
unregisterService in interface ServiceManagerInterface