public class ESRegistryMarshalling extends Object
| Constructor and Description |
|---|
ESRegistryMarshalling() |
| Modifier and Type | Method and Description |
|---|---|
static org.elasticsearch.common.xcontent.XContentBuilder |
marshall(io.apiman.gateway.engine.beans.Application bean)
Marshals the given bean into the given map.
|
static org.elasticsearch.common.xcontent.XContentBuilder |
marshall(io.apiman.gateway.engine.beans.Service bean)
Marshals the given bean into the given map.
|
static org.elasticsearch.common.xcontent.XContentBuilder |
marshall(io.apiman.gateway.engine.beans.ServiceContract bean)
Marshals the given bean into the given map.
|
protected static void |
marshallInto(io.apiman.gateway.engine.beans.Service bean,
org.elasticsearch.common.xcontent.XContentBuilder builder) |
static io.apiman.gateway.engine.beans.Application |
unmarshallApplication(Map<String,Object> source)
Unmarshals the given map source into a bean.
|
static io.apiman.gateway.engine.beans.Service |
unmarshallService(Map<String,Object> source)
Unmarshals the given map source into a bean.
|
static io.apiman.gateway.engine.beans.ServiceContract |
unmarshallServiceContract(Map<String,Object> source)
Unmarshals the given map source into a bean.
|
public static org.elasticsearch.common.xcontent.XContentBuilder marshall(io.apiman.gateway.engine.beans.Service bean)
throws Exception
bean - StorageExceptionExceptionprotected static void marshallInto(io.apiman.gateway.engine.beans.Service bean,
org.elasticsearch.common.xcontent.XContentBuilder builder)
throws IOException
bean - builder - IOExceptionpublic static io.apiman.gateway.engine.beans.Service unmarshallService(Map<String,Object> source)
source - public static org.elasticsearch.common.xcontent.XContentBuilder marshall(io.apiman.gateway.engine.beans.Application bean)
throws Exception
bean - StorageExceptionExceptionpublic static io.apiman.gateway.engine.beans.Application unmarshallApplication(Map<String,Object> source)
source - public static org.elasticsearch.common.xcontent.XContentBuilder marshall(io.apiman.gateway.engine.beans.ServiceContract bean)
throws Exception
bean - app - StorageExceptionExceptionCopyright © 2015 JBoss, a division of Red Hat. All rights reserved.