Keel 2.1RC2

org.keel.services.authorization.lifecycle
Class AuthorizationLifecycleAccessExtension

java.lang.Object
  extended byorg.apache.avalon.framework.logger.AbstractLogEnabled
      extended byorg.apache.avalon.lifecycle.AbstractAccessor
          extended byorg.keel.services.authorization.lifecycle.AuthorizationLifecycleAccessExtension
All Implemented Interfaces:
Accessor, LogEnabled, Serviceable

public class AuthorizationLifecycleAccessExtension
extends AbstractAccessor
implements Serviceable

Author:
Michael Nash, Santanu Dutt

Field Summary
private  KeelServiceableDelegate m_delegate
           
 
Fields inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
 
Constructor Summary
AuthorizationLifecycleAccessExtension()
           
 
Method Summary
 void access(java.lang.Object component, Context context)
          Called when the given service is being accessed (via lookup() or select()).
 void service(ServiceManager manager)
          Pass the ServiceManager to the Serviceable.
 
Methods inherited from class org.apache.avalon.lifecycle.AbstractAccessor
release
 
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_delegate

private KeelServiceableDelegate m_delegate
Constructor Detail

AuthorizationLifecycleAccessExtension

public AuthorizationLifecycleAccessExtension()
Method Detail

access

public void access(java.lang.Object component,
                   Context context)
            throws java.lang.Exception
Called when the given service is being accessed (via lookup() or select()). If the service is Securable then it checks whether the service is also Servicable. Every Securable service has to be Serviceable to allow the service to obtain the AuthorizationManger service.

Specified by:
access in interface Accessor
Overrides:
access in class AbstractAccessor
Parameters:
component - a Service instance
context - a Context instance
Throws:
java.lang.Exception - if an error occurs

service

public void service(ServiceManager manager)
             throws ServiceException
Description copied from interface: Serviceable
Pass the ServiceManager to the Serviceable. The Serviceable implementation should use the specified ServiceManager to acquire the components it needs for execution.

Specified by:
service in interface Serviceable
Parameters:
manager -
Throws:
ServiceException
See Also:
Serviceable.service(org.apache.avalon.framework.service.ServiceManager)

Keel 2.1RC2

Please see keelframework.org for information about new Keel releases.