Class MicroService
java.lang.Object
com.cloudimpl.outstack.runtime.domainspec.Entity
com.cloudimpl.outstack.runtime.domainspec.RootEntity
com.cloudimpl.outstack.spring.domain.MicroService
- All Implemented Interfaces:
IResource
public class MicroService extends RootEntity
- Author:
- nuwan
-
Nested Class Summary
Nested classes/interfaces inherited from class com.cloudimpl.outstack.runtime.domainspec.Entity
Entity.Meta -
Constructor Summary
Constructors Constructor Description MicroService(java.lang.String rootEntity) -
Method Summary
Modifier and Type Method Description protected voidapply(Event event)java.lang.StringentityId()java.lang.StringgetApiContext()java.lang.StringgetRootEntity()java.lang.StringgetServiceName()java.lang.StringgetVersion()java.lang.StringidField()booleanisTenantService()Methods inherited from class com.cloudimpl.outstack.runtime.domainspec.RootEntity
create, createChildEntity, getBRN, getTRN, isMyType, makeRN, makeTRNMethods inherited from class com.cloudimpl.outstack.runtime.domainspec.Entity
applyEvent, checkTenantEligibility, cloneEntity, getMeta, getVersion, hasTenant, hasTenant, id, isRoot, rename, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
MicroService
public MicroService(java.lang.String rootEntity)
-
-
Method Details
-
getServiceName
public java.lang.String getServiceName() -
getVersion
public java.lang.String getVersion() -
isTenantService
public boolean isTenantService() -
getApiContext
public java.lang.String getApiContext() -
getRootEntity
public java.lang.String getRootEntity() -
entityId
public java.lang.String entityId() -
apply
-
idField
public java.lang.String idField()
-