JBoss Modular Service Kernel API 1.0.0.CR2

org.jboss.msc.service
Class ServiceActivatorContextImpl

java.lang.Object
  extended by org.jboss.msc.service.ServiceActivatorContextImpl
All Implemented Interfaces:
ServiceActivatorContext

public final class ServiceActivatorContextImpl
extends Object
implements ServiceActivatorContext

A simple service activator context implementation.

Author:
David M. Lloyd

Constructor Summary
ServiceActivatorContextImpl(ServiceTarget serviceTarget, ServiceRegistry serviceRegistry)
          Construct a new instance.
 
Method Summary
 ServiceRegistry getServiceRegistry()
          Get the service registry for this activation.
 ServiceTarget getServiceTarget()
          Get the service target for this activation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceActivatorContextImpl

public ServiceActivatorContextImpl(ServiceTarget serviceTarget,
                                   ServiceRegistry serviceRegistry)
Construct a new instance.

Parameters:
serviceTarget - the service target
serviceRegistry - the service registry
Method Detail

getServiceTarget

public ServiceTarget getServiceTarget()
Get the service target for this activation.

Specified by:
getServiceTarget in interface ServiceActivatorContext
Returns:
the service target

getServiceRegistry

public ServiceRegistry getServiceRegistry()
Get the service registry for this activation.

Specified by:
getServiceRegistry in interface ServiceActivatorContext
Returns:
the service registry

JBoss Modular Service Kernel API 1.0.0.CR2

Copyright © 2011 JBoss, a division of Red Hat, Inc.