public class ServiceMetaRegistryImpl
extends java.lang.Object
implements org.appops.service.store.ServiceMetaRegistry
| Constructor and Description |
|---|
ServiceMetaRegistryImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addInterfaceMeta(java.lang.String service,
org.appops.core.service.meta.InterfaceMeta intrfcMeta) |
void |
addOpMeta(java.lang.String service,
java.lang.String intrfc,
org.appops.core.service.meta.ServiceOpMeta opMeta) |
void |
addServiceMeta(org.appops.core.service.meta.ServiceMeta serviceMeta) |
java.util.Collection<org.appops.core.service.meta.ServiceMeta> |
getAllServiceMetas() |
org.appops.core.service.meta.InterfaceMeta |
getInterfaceMeta(java.lang.String service,
java.lang.String name) |
java.util.Collection<org.appops.core.service.meta.InterfaceMeta> |
getInterfaces(java.lang.String serviceName) |
java.util.Collection<org.appops.core.service.meta.ServiceOpMeta> |
getOperations(java.lang.String serviceName,
java.lang.String interfaceName) |
org.appops.core.service.meta.ServiceOpMeta |
getOpMeta(java.lang.String pathOrSignature) |
org.appops.core.service.meta.ServiceOpMeta |
getOpMeta(java.lang.String service,
java.lang.String pathOrSignature) |
org.appops.core.service.meta.ServiceOpMeta |
getOpMetaById(java.lang.Long id) |
java.util.ArrayList<org.appops.core.service.Parameter> |
getParameters(java.lang.String serviceName,
java.lang.String interfaceName,
java.lang.String operationName) |
org.appops.core.service.meta.ServiceMeta |
getServiceMeta(java.lang.String name) |
java.util.Collection<org.appops.core.service.meta.ServiceMeta> |
getServicesByPage(java.lang.Integer startIndex,
java.lang.Integer pageSize)
Fetches service entries by page.
|
org.appops.core.service.signature.ServiceOpSignatureBuilder |
getSignatureBuilder() |
boolean |
isServiceExists(java.lang.String name)
Checks if service with name exist in store or not.
|
void |
setSignatureBuilder(org.appops.core.service.signature.ServiceOpSignatureBuilder signatureBuilder) |
public org.appops.core.service.meta.ServiceMeta getServiceMeta(java.lang.String name)
getServiceMeta in interface org.appops.service.store.ServiceMetaRegistrypublic boolean isServiceExists(java.lang.String name)
name - Name of service to be looked for.public org.appops.core.service.meta.InterfaceMeta getInterfaceMeta(java.lang.String service,
java.lang.String name)
getInterfaceMeta in interface org.appops.service.store.ServiceMetaRegistrypublic org.appops.core.service.meta.ServiceOpMeta getOpMeta(java.lang.String pathOrSignature)
getOpMeta in interface org.appops.service.store.ServiceMetaRegistrypublic org.appops.core.service.meta.ServiceOpMeta getOpMeta(java.lang.String service,
java.lang.String pathOrSignature)
getOpMeta in interface org.appops.service.store.ServiceMetaRegistrypublic org.appops.core.service.meta.ServiceOpMeta getOpMetaById(java.lang.Long id)
getOpMetaById in interface org.appops.service.store.ServiceMetaRegistrypublic void addServiceMeta(org.appops.core.service.meta.ServiceMeta serviceMeta)
addServiceMeta in interface org.appops.service.store.ServiceMetaRegistrypublic void addInterfaceMeta(java.lang.String service,
org.appops.core.service.meta.InterfaceMeta intrfcMeta)
addInterfaceMeta in interface org.appops.service.store.ServiceMetaRegistrypublic void addOpMeta(java.lang.String service,
java.lang.String intrfc,
org.appops.core.service.meta.ServiceOpMeta opMeta)
addOpMeta in interface org.appops.service.store.ServiceMetaRegistrypublic org.appops.core.service.signature.ServiceOpSignatureBuilder getSignatureBuilder()
@Inject public void setSignatureBuilder(org.appops.core.service.signature.ServiceOpSignatureBuilder signatureBuilder)
public java.util.Collection<org.appops.core.service.meta.ServiceMeta> getAllServiceMetas()
getAllServiceMetas in interface org.appops.service.store.ServiceMetaRegistrypublic java.util.Collection<org.appops.core.service.meta.ServiceMeta> getServicesByPage(java.lang.Integer startIndex,
java.lang.Integer pageSize)
getServicesByPage in interface org.appops.service.store.ServiceMetaRegistrystartIndex - Start index of page.pageSize - Number of records to be included in page.public java.util.Collection<org.appops.core.service.meta.InterfaceMeta> getInterfaces(java.lang.String serviceName)
getInterfaces in interface org.appops.service.store.ServiceMetaRegistrypublic java.util.Collection<org.appops.core.service.meta.ServiceOpMeta> getOperations(java.lang.String serviceName,
java.lang.String interfaceName)
getOperations in interface org.appops.service.store.ServiceMetaRegistrypublic java.util.ArrayList<org.appops.core.service.Parameter> getParameters(java.lang.String serviceName,
java.lang.String interfaceName,
java.lang.String operationName)
getParameters in interface org.appops.service.store.ServiceMetaRegistryCopyright © 2022. All rights reserved.