org.hibernate.service.spi
Class ServiceBinding<R extends Service>
java.lang.Object
org.hibernate.service.spi.ServiceBinding<R>
public final class ServiceBinding<R extends Service>
- extends Object
Models a binding for a particular service
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServiceBinding
public ServiceBinding(ServiceBinding.ServiceLifecycleOwner lifecycleOwner,
Class<R> serviceRole,
R service)
ServiceBinding
public ServiceBinding(ServiceBinding.ServiceLifecycleOwner lifecycleOwner,
ServiceInitiator<R> serviceInitiator)
getLifecycleOwner
public ServiceBinding.ServiceLifecycleOwner getLifecycleOwner()
getServiceRole
public Class<R> getServiceRole()
getServiceInitiator
public ServiceInitiator<R> getServiceInitiator()
getService
public R getService()
setService
public void setService(R service)
Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.