Modifier and Type | Class and Description |
---|---|
static interface |
ServiceBinding.ServiceLifecycleOwner |
Constructor and Description |
---|
ServiceBinding(ServiceBinding.ServiceLifecycleOwner lifecycleOwner,
Class<R> serviceRole,
R service) |
ServiceBinding(ServiceBinding.ServiceLifecycleOwner lifecycleOwner,
ServiceInitiator<R> serviceInitiator) |
Modifier and Type | Method and Description |
---|---|
ServiceBinding.ServiceLifecycleOwner |
getLifecycleOwner() |
R |
getService() |
ServiceInitiator<R> |
getServiceInitiator() |
Class<R> |
getServiceRole() |
void |
setService(R service) |
public ServiceBinding(ServiceBinding.ServiceLifecycleOwner lifecycleOwner, Class<R> serviceRole, R service)
public ServiceBinding(ServiceBinding.ServiceLifecycleOwner lifecycleOwner, ServiceInitiator<R> serviceInitiator)
public ServiceBinding.ServiceLifecycleOwner getLifecycleOwner()
public ServiceInitiator<R> getServiceInitiator()
public R getService()
public void setService(R service)
Copyright © 2017 JBoss by Red Hat. All rights reserved.