Package org.jboss.msc.service
Class ServiceActivatorContextImpl
- java.lang.Object
-
- 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
Constructors Constructor Description ServiceActivatorContextImpl(ServiceTarget serviceTarget, ServiceRegistry serviceRegistry)
Construct a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ServiceRegistry
getServiceRegistry()
Get the service registry for this activation.ServiceTarget
getServiceTarget()
Get the service target for this activation.
-
-
-
Constructor Detail
-
ServiceActivatorContextImpl
public ServiceActivatorContextImpl(ServiceTarget serviceTarget, ServiceRegistry serviceRegistry)
Construct a new instance.- Parameters:
serviceTarget
- the service targetserviceRegistry
- the service registry
-
-
Method Detail
-
getServiceTarget
public ServiceTarget getServiceTarget()
Get the service target for this activation.- Specified by:
getServiceTarget
in interfaceServiceActivatorContext
- Returns:
- the service target
-
getServiceRegistry
public ServiceRegistry getServiceRegistry()
Get the service registry for this activation.- Specified by:
getServiceRegistry
in interfaceServiceActivatorContext
- Returns:
- the service registry
-
-