Skip navigation links
A B C D E F G H I J L M R S U V Z 

A

add(RegistryDescriptor, long) - Method in class com.airepublic.microverse.core.common.RegistryCache
 
add(ServiceDescriptor, Long) - Method in class com.airepublic.microverse.core.common.ServiceCache
 
addAll(List<RegistryDescriptor>) - Method in class com.airepublic.microverse.core.common.RegistryCache
 
addMarshaller(IMarshaller) - Static method in class com.airepublic.microverse.core.common.marshaller.MarshallerFactory
Add a supported marshaller.
addRegistry(RegistryDescriptor) - Method in class com.airepublic.microverse.core.discovery.DefaultRegistrySynchronizationStrategy
 
addRegistry(RegistryDescriptor) - Method in interface com.airepublic.microverse.core.discovery.IRegistrySynchronizationStrategy
 
addService(ServiceDescriptor) - Method in class com.airepublic.microverse.core.discovery.DefaultRegistrySynchronizationStrategy
 
addService(ServiceDescriptor) - Method in class com.airepublic.microverse.core.discovery.DefaultServiceSynchronizationStrategy
 
addService(ServiceDescriptor) - Method in interface com.airepublic.microverse.core.discovery.IServiceSynchronizationStrategy
 
ANNOUNCE_REGISTRY_ALL - Static variable in class com.airepublic.microverse.core.discovery.MulticastRegistryDiscoverer
 

B

BinaryMarshaller - Class in com.airepublic.microverse.core.common.marshaller
 
BinaryMarshaller() - Constructor for class com.airepublic.microverse.core.common.marshaller.BinaryMarshaller
 
buildURL(String, int, boolean, String) - Static method in class com.airepublic.microverse.core.common.ServiceUtils
Gets the fully qualified URL string to the service.

C

callHeartbeat(String, int, boolean, WebCall) - Method in class com.airepublic.microverse.core.discovery.DefaultServiceSynchronizationStrategy
Calls the heatbeat method of the registry to determine whether its responding and if so, the latency.
clear() - Static method in class com.airepublic.microverse.core.common.marshaller.MarshallerFactory
Remove all configured marshallers.
close() - Method in class com.airepublic.microverse.core.client.ServiceRegistryLookup
 
close() - Method in class com.airepublic.microverse.core.common.RegistryCache
 
close() - Method in class com.airepublic.microverse.core.common.ServiceCache
 
close() - Method in class com.airepublic.microverse.core.discovery.DefaultRegistrySynchronizationStrategy
 
close() - Method in class com.airepublic.microverse.core.discovery.DefaultServiceSynchronizationStrategy
 
close() - Method in interface com.airepublic.microverse.core.discovery.IRegistryDiscoverer
 
close() - Method in interface com.airepublic.microverse.core.discovery.IServiceSynchronizationStrategy
 
close() - Method in class com.airepublic.microverse.core.discovery.MulticastRegistryDiscoverer
 
com.airepublic.microverse.core.client - package com.airepublic.microverse.core.client
 
com.airepublic.microverse.core.common - package com.airepublic.microverse.core.common
 
com.airepublic.microverse.core.common.marshaller - package com.airepublic.microverse.core.common.marshaller
 
com.airepublic.microverse.core.discovery - package com.airepublic.microverse.core.discovery
 
com.airepublic.microverse.core.util - package com.airepublic.microverse.core.util
 
compareTo(RegistryCache.Metadata) - Method in class com.airepublic.microverse.core.common.RegistryCache.Metadata
 
compareTo(ServiceCache.Metadata) - Method in class com.airepublic.microverse.core.common.ServiceCache.Metadata
 
ConfigConstants - Interface in com.airepublic.microverse.core.common
Constants for the system property configurations and service descriptor name.
contains(RegistryDescriptor) - Method in class com.airepublic.microverse.core.common.RegistryCache
 
contains(ServiceDescriptor) - Method in class com.airepublic.microverse.core.common.ServiceCache
 
create() - Static method in class com.airepublic.microverse.core.client.ServiceRegistryLookup
Creates a new ServiceRegistryLookup for the specified RegistryDescriptor.
create(Long) - Static method in class com.airepublic.microverse.core.common.RegistryCache.Metadata
 
create(Long) - Static method in class com.airepublic.microverse.core.common.ServiceCache.Metadata
 
create() - Static method in class com.airepublic.microverse.core.discovery.DefaultRegistrySynchronizationStrategy
create() - Static method in class com.airepublic.microverse.core.discovery.DefaultServiceSynchronizationStrategy
create(RegistryCache) - Static method in class com.airepublic.microverse.core.discovery.MulticastRegistryDiscoverer
Creates a new instance by defining the RegistryCache.
NOTE: This is for standalone use when not in a CDI context.
createServiceClient(ServiceDescriptor) - Method in class com.airepublic.microverse.core.client.ServiceRegistryLookup
Create a service client which proxies the calls to the service server.

D

DEFAULT_LATENCY - Static variable in class com.airepublic.microverse.core.common.RegistryCache
 
DefaultRegistrySynchronizationStrategy - Class in com.airepublic.microverse.core.discovery
Implements the synchronization strategy for the registry-server.
DefaultRegistrySynchronizationStrategy() - Constructor for class com.airepublic.microverse.core.discovery.DefaultRegistrySynchronizationStrategy
Constructor.
DefaultRegistrySynchronizationStrategy(RegistryCache, MulticastRegistryDiscoverer) - Constructor for class com.airepublic.microverse.core.discovery.DefaultRegistrySynchronizationStrategy
Constructor.
DefaultServiceSynchronizationStrategy - Class in com.airepublic.microverse.core.discovery
Implements the synchronization strategy for the service-server.
DefaultServiceSynchronizationStrategy() - Constructor for class com.airepublic.microverse.core.discovery.DefaultServiceSynchronizationStrategy
Constructor.
DefaultServiceSynchronizationStrategy(RegistryCache, MulticastRegistryDiscoverer) - Constructor for class com.airepublic.microverse.core.discovery.DefaultServiceSynchronizationStrategy
Constructor.
deserialize(InputStream, Class<T>) - Method in class com.airepublic.microverse.core.common.marshaller.BinaryMarshaller
 
deserialize(byte[], Class<T>) - Method in class com.airepublic.microverse.core.common.marshaller.BinaryMarshaller
 
deserialize(InputStream, Class<T>) - Method in interface com.airepublic.microverse.core.common.marshaller.IMarshaller
Deserializes the object from the input-stream.
deserialize(byte[], Class<T>) - Method in interface com.airepublic.microverse.core.common.marshaller.IMarshaller
Deserializes the object from the specified object data.
deserialize(InputStream, Class<T>) - Method in class com.airepublic.microverse.core.common.marshaller.JsonMarshaller
 
deserialize(byte[], Class<T>) - Method in class com.airepublic.microverse.core.common.marshaller.JsonMarshaller
 
determineCommonMimeType(List<String>) - Static method in class com.airepublic.microverse.core.common.ServiceUtils
Determine which mime-type and corresponding marshaller is mutually supported.
determineCommonMimeType(RegistryDescriptor) - Method in class com.airepublic.microverse.core.discovery.DefaultRegistrySynchronizationStrategy
Determine which mime-type and corresponding marshaller is mutually supported by this lookup and the registry-server.
determineCommonMimeType(RegistryDescriptor) - Method in class com.airepublic.microverse.core.discovery.DefaultServiceSynchronizationStrategy
Determine which mime-type and corresponding marshaller is mutually supported by this lookup and the registry-server.

E

executeRequest(RegistryDescriptor, WebCall, Serializable) - Static method in class com.airepublic.microverse.core.common.ServiceUtils
 
executeRequest(ServiceDescriptor, WebCall, Serializable) - Static method in class com.airepublic.microverse.core.common.ServiceUtils
 
executeRequest(String, int, boolean, WebCall, List<String>, Serializable) - Static method in class com.airepublic.microverse.core.common.ServiceUtils
 
executeRequest(HttpUriRequest, boolean) - Static method in class com.airepublic.microverse.core.common.ServiceUtils
Executes the specified request.

F

FILE_NAME_MICROSERVICE_DESCRIPTOR - Static variable in interface com.airepublic.microverse.core.common.ConfigConstants
 
FILE_NAME_SERVICES_DEPLOYMENT_CONFIG - Static variable in interface com.airepublic.microverse.core.common.ConfigConstants
 

G

get(String) - Static method in class com.airepublic.microverse.core.common.marshaller.MarshallerFactory
Get the IMarshaller for the specified mime-type.
get(String) - Method in class com.airepublic.microverse.core.common.ServiceCache
 
getAcceptedMimeTypes() - Static method in class com.airepublic.microverse.core.common.ServiceUtils
Creates a comma-separated string of all mime-types supported by the MarshallerFactory.
getAll() - Method in class com.airepublic.microverse.core.common.RegistryCache
 
getAll() - Method in class com.airepublic.microverse.core.common.ServiceCache
 
getMarshallerToCommunicateWithRestServer(String, int, String) - Static method in class com.airepublic.microverse.core.common.ServiceUtils
Gets a IMarshaller by querying the REST server's supported mime-types and trying to find a match by the clients supported mime-types.
getMimeType() - Method in class com.airepublic.microverse.core.common.marshaller.BinaryMarshaller
 
getMimeType() - Method in interface com.airepublic.microverse.core.common.marshaller.IMarshaller
Gets the supported mime-type for this marshaller.
getMimeType() - Method in class com.airepublic.microverse.core.common.marshaller.JsonMarshaller
 
getMimeTypeForResponse(Header) - Static method in class com.airepublic.microverse.core.common.ServiceUtils
Gets the mime-type from the request header 'accept' to determine the content-type of the response content.
getMimeTypeFromResponse(HttpResponse) - Static method in class com.airepublic.microverse.core.common.ServiceUtils
Gets the mime-type from the response header 'content-type' to determine how to deserialize the response entity.
getRegistryCache() - Method in class com.airepublic.microverse.core.client.ServiceRegistryLookup
 
getRegistryCache() - Method in class com.airepublic.microverse.core.discovery.DefaultServiceSynchronizationStrategy
 
getServiceCache() - Method in class com.airepublic.microverse.core.discovery.DefaultRegistrySynchronizationStrategy
 
getServiceCache() - Method in interface com.airepublic.microverse.core.discovery.IRegistrySynchronizationStrategy
 
getServiceClient(Class<T>, String) - Method in class com.airepublic.microverse.core.client.ServiceRegistryLookup
Gets a service client for the specified service interface.
getServiceClient(ServiceDescriptor) - Method in class com.airepublic.microverse.core.client.ServiceRegistryLookup
Gets a service client for the specified service interface.
getServiceDescriptor(String) - Method in class com.airepublic.microverse.core.client.ServiceRegistryLookup
Gets a ServiceDescriptor for the specified service class.
getServiceURL(ServiceDescriptor) - Static method in class com.airepublic.microverse.core.common.ServiceUtils
Gets the fully qualified URL string to the service.
getSupportedMediaTypesOfRestServer(String, int, String) - Static method in class com.airepublic.microverse.core.common.ServiceUtils
Queries the supported mime-types from the REST server.
getSupportedMimeTypes() - Static method in class com.airepublic.microverse.core.common.marshaller.MarshallerFactory
Gets the mime-types for all registered marshallers.
getTimer() - Method in class com.airepublic.microverse.core.discovery.DefaultServiceSynchronizationStrategy
Gets the timer for the heartbeat calls.

H

handle(InetAddress, int, byte[]) - Method in class com.airepublic.microverse.core.discovery.MulticastRegistryDiscoverer
 
HEARTBEAT_REGISTRY_PERIOD - Static variable in class com.airepublic.microverse.core.discovery.DefaultServiceSynchronizationStrategy
 
HEARTBEAT_SERVICE_PERIOD - Static variable in class com.airepublic.microverse.core.discovery.DefaultRegistrySynchronizationStrategy
 
HowToInstallSSLCertificates - Class in com.airepublic.microverse.core.common
AuthSSLProtocolSocketFactory can be used to validate the identity of the HTTPS server against a list of trusted certificates and to authenticate to the HTTPS server using a private key.
HowToInstallSSLCertificates() - Constructor for class com.airepublic.microverse.core.common.HowToInstallSSLCertificates
 

I

IMarshaller - Interface in com.airepublic.microverse.core.common.marshaller
Interface to transform the method calls and return object to a individual format.
init() - Method in class com.airepublic.microverse.core.client.ServiceRegistryLookup
 
initialize() - Method in class com.airepublic.microverse.core.discovery.DefaultRegistrySynchronizationStrategy
 
initialize() - Method in class com.airepublic.microverse.core.discovery.DefaultServiceSynchronizationStrategy
 
invoke(Object, Method, Object[]) - Method in class com.airepublic.microverse.core.client.ServiceClientInvocationHandler
 
IRegistryDiscoverer - Interface in com.airepublic.microverse.core.discovery
Interface to provide registry discovery functionality.
IRegistrySynchronizationStrategy - Interface in com.airepublic.microverse.core.discovery
Interface defining the functionality for service-discovery.
IServiceSynchronizationStrategy - Interface in com.airepublic.microverse.core.discovery
 

J

JsonMarshaller - Class in com.airepublic.microverse.core.common.marshaller
 
JsonMarshaller() - Constructor for class com.airepublic.microverse.core.common.marshaller.JsonMarshaller
 

L

lastUpdate - Variable in class com.airepublic.microverse.core.common.RegistryCache.Metadata
 
lastUpdate - Variable in class com.airepublic.microverse.core.common.ServiceCache.Metadata
 
latency - Variable in class com.airepublic.microverse.core.common.RegistryCache.Metadata
 
latency - Variable in class com.airepublic.microverse.core.common.ServiceCache.Metadata
 

M

MarshallerFactory - Class in com.airepublic.microverse.core.common.marshaller
Factory to provide IMarshaller for a given mime-type.
MarshallerFactory() - Constructor for class com.airepublic.microverse.core.common.marshaller.MarshallerFactory
 
Metadata() - Constructor for class com.airepublic.microverse.core.common.RegistryCache.Metadata
 
Metadata() - Constructor for class com.airepublic.microverse.core.common.ServiceCache.Metadata
 
MULTICAST_GROUP_ADDRESS - Static variable in class com.airepublic.microverse.core.common.ServiceUtils
 
MULTICAST_PORT - Static variable in class com.airepublic.microverse.core.common.ServiceUtils
 
MulticastRegistryDiscoverer - Class in com.airepublic.microverse.core.discovery
Discovers service-registries by making a multicast request.

R

registerService(ServiceDescriptor) - Method in class com.airepublic.microverse.core.client.ServiceRegistryLookup
Register the specified ServiceDescriptor with the registry server.
registerServices(List<ServiceDescriptor>) - Method in class com.airepublic.microverse.core.client.ServiceRegistryLookup
Register the specified ServiceDescriptors with the registry server.
REGISTRY_CONTEXTROOT - Static variable in interface com.airepublic.microverse.core.common.ConfigConstants
 
REGISTRY_HOST - Static variable in interface com.airepublic.microverse.core.common.ConfigConstants
 
REGISTRY_PORT - Static variable in interface com.airepublic.microverse.core.common.ConfigConstants
 
REGISTRY_USESSL - Static variable in interface com.airepublic.microverse.core.common.ConfigConstants
 
RegistryCache - Class in com.airepublic.microverse.core.common
Cache the registry-servers and updates its list periodically by issuing multicasts on 244.0.0.0:5000.
RegistryCache() - Constructor for class com.airepublic.microverse.core.common.RegistryCache
 
RegistryCache.Metadata - Class in com.airepublic.microverse.core.common
 
RegistryStrategy - Annotation Type in com.airepublic.microverse.core.discovery
 
remove(RegistryDescriptor) - Method in class com.airepublic.microverse.core.common.RegistryCache
 
remove(ServiceDescriptor) - Method in class com.airepublic.microverse.core.common.ServiceCache
 
removeAll() - Method in class com.airepublic.microverse.core.common.ServiceCache
 
removeRegistry(RegistryDescriptor) - Method in class com.airepublic.microverse.core.discovery.DefaultRegistrySynchronizationStrategy
 
removeRegistry(RegistryDescriptor) - Method in interface com.airepublic.microverse.core.discovery.IRegistrySynchronizationStrategy
 
removeService(ServiceDescriptor) - Method in class com.airepublic.microverse.core.discovery.DefaultRegistrySynchronizationStrategy
 
removeService(ServiceDescriptor) - Method in class com.airepublic.microverse.core.discovery.DefaultServiceSynchronizationStrategy
 
removeService(ServiceDescriptor) - Method in interface com.airepublic.microverse.core.discovery.IServiceSynchronizationStrategy
 
removeServices(List<ServiceDescriptor>) - Method in class com.airepublic.microverse.core.discovery.DefaultServiceSynchronizationStrategy
 
removeServices(List<ServiceDescriptor>) - Method in interface com.airepublic.microverse.core.discovery.IServiceSynchronizationStrategy
 
REQUEST_REGISTRY_ALL - Static variable in class com.airepublic.microverse.core.discovery.MulticastRegistryDiscoverer
 
requestAllRegistries() - Method in class com.airepublic.microverse.core.discovery.DefaultServiceSynchronizationStrategy
 
requestAllRegistries() - Method in interface com.airepublic.microverse.core.discovery.IServiceSynchronizationStrategy
 
requestRegistries() - Method in interface com.airepublic.microverse.core.discovery.IRegistryDiscoverer
Locates all registries and puts them in the mutually used RegistryCache.
requestRegistries() - Method in class com.airepublic.microverse.core.discovery.MulticastRegistryDiscoverer
 

S

send(String, byte[]) - Method in class com.airepublic.microverse.core.discovery.MulticastRegistryDiscoverer
Sends the message of the specified type to the multicast socket.
serialize(Serializable) - Method in class com.airepublic.microverse.core.common.marshaller.BinaryMarshaller
 
serialize(Serializable) - Method in interface com.airepublic.microverse.core.common.marshaller.IMarshaller
Serialize the specified Serializable object.
serialize(Serializable) - Method in class com.airepublic.microverse.core.common.marshaller.JsonMarshaller
 
SERVICE_DEPLOY_DIR - Static variable in interface com.airepublic.microverse.core.common.ConfigConstants
 
ServiceCache - Class in com.airepublic.microverse.core.common
 
ServiceCache() - Constructor for class com.airepublic.microverse.core.common.ServiceCache
 
ServiceCache.Metadata - Class in com.airepublic.microverse.core.common
 
ServiceClientInvocationHandler - Class in com.airepublic.microverse.core.client
InvocationHandler to proxy service calls.
ServiceClientInvocationHandler(ServiceDescriptor, IMarshaller) - Constructor for class com.airepublic.microverse.core.client.ServiceClientInvocationHandler
Constructor.
ServiceRegistryLookup - Class in com.airepublic.microverse.core.client
Lookup class for a RestServiceRegistryBinary.
ServiceStrategy - Annotation Type in com.airepublic.microverse.core.discovery
 
ServiceUtils - Class in com.airepublic.microverse.core.common
Common methods used by various classes.
ServiceUtils() - Constructor for class com.airepublic.microverse.core.common.ServiceUtils
 
setMetadata(RegistryDescriptor, RegistryCache.Metadata) - Method in class com.airepublic.microverse.core.common.RegistryCache
 
setMetadata(ServiceDescriptor, ServiceCache.Metadata) - Method in class com.airepublic.microverse.core.common.ServiceCache
 
sortByValue(Map<K, V>) - Method in class com.airepublic.microverse.core.common.RegistryCache
 
sortByValue(Map<K, V>) - Method in class com.airepublic.microverse.core.common.ServiceCache
 

U

unregisterService(ServiceDescriptor) - Method in class com.airepublic.microverse.core.client.ServiceRegistryLookup
Register the specified ServiceDescriptor with the registry-server.
unregisterServices(List<ServiceDescriptor>) - Method in class com.airepublic.microverse.core.client.ServiceRegistryLookup
Register the specified ServiceDescriptors with the registry-server.
unzip(URI, Path) - Static method in class com.airepublic.microverse.core.util.ZipUtil
Unzips the specified zip file to the specified destination directory.

V

validateResponse(HttpRequest, HttpResponse) - Static method in class com.airepublic.microverse.core.common.ServiceUtils
Validates the response if the status OK was returned, otherwise it will throw a ServiceException.

Z

ZipUtil - Class in com.airepublic.microverse.core.util
Utility to perform operations on a Zip file.
ZipUtil() - Constructor for class com.airepublic.microverse.core.util.ZipUtil
 
A B C D E F G H I J L M R S U V Z 
Skip navigation links

Copyright © 2016. All rights reserved.