Package com.exonum.binding.core.service
Class AbstractService
- java.lang.Object
-
- com.exonum.binding.core.service.AbstractService
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractService(ServiceInstanceSpec instanceSpec)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected intgetId()Returns the numeric id of the service instance.protected ServiceInstanceSpecgetInstanceSpec()Returns this service instance specification.protected StringgetName()Returns the name of the service instance.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.exonum.binding.core.service.Service
afterCommit, afterTransactions, beforeTransactions, createPublicApiHandlers, initialize, resume
-
-
-
-
Constructor Detail
-
AbstractService
protected AbstractService(ServiceInstanceSpec instanceSpec)
-
-
Method Detail
-
getName
protected final String getName()
Returns the name of the service instance.- See Also:
ServiceInstanceSpec.getName()
-
getId
protected final int getId()
Returns the numeric id of the service instance.- See Also:
ServiceInstanceSpec.getId()
-
getInstanceSpec
protected final ServiceInstanceSpec getInstanceSpec()
Returns this service instance specification.
-
-