A C D E F G I K L M O P R S U W

A

addConfiguration(String) - Method in class org.gcube.common.mycontainer.Gar
Adds a configuration resource to the Gar.
addConfigurations(String) - Method in class org.gcube.common.mycontainer.Gar
Adds all the configuration files in a given directory to the Gar.
addInterface(String) - Method in class org.gcube.common.mycontainer.Gar
Adds an interface resource to the Gar.
addInterfaces(String) - Method in class org.gcube.common.mycontainer.Gar
Adds all the interfaces in a given directory to the Gar.
addLibraries(String) - Method in class org.gcube.common.mycontainer.Gar
Adds all the library resources in a given directory to the Gar.
addLibrary(String) - Method in class org.gcube.common.mycontainer.Gar
Adds a library resource to the Gar.
addNamespace(String, String) - Method in class org.gcube.common.mycontainer.ResourcePropertyHelper
Declares a namespace for XPath evaluation.
address(String) - Method in class org.gcube.common.mycontainer.MyContainer
Returns the address of a service running in the container started at the default port.
address(String, int) - Method in class org.gcube.common.mycontainer.MyContainer
Returns the address of a service running in a container started at a given port.

C

cleanState() - Method in class org.gcube.common.mycontainer.MyContainer
 
CONFIG_DIR - Static variable in class org.gcube.common.mycontainer.Utils
The local name of the configuration folder inside the install location of the container.
configLocation() - Method in class org.gcube.common.mycontainer.MyContainer
Returns the container's configuration folder.
configuration() - Method in class org.gcube.common.mycontainer.Gar
 
CONTAINER_LOCATION_PROPERTY - Static variable in class org.gcube.common.mycontainer.Utils
The system property that identifies the install location of the container.

D

DEFAULT_INSTALL_DIRECTORY - Static variable in class org.gcube.common.mycontainer.Utils
 
DEFAULT_PORT - Static variable in class org.gcube.common.mycontainer.Utils
The default timeout on startup.
DEFAULT_STARTUP_TIMEOUT - Static variable in class org.gcube.common.mycontainer.Utils
The default timeout on startup.
Deployment - Annotation Type in org.gcube.common.mycontainer
Marks the value of a static field as a Gar to deploy in MyContainer
deploymentsLocation() - Method in class org.gcube.common.mycontainer.MyContainer
Returns the container's deployment folders.

E

endpoint(String, Class<T>) - Method in class org.gcube.common.mycontainer.MyContainer
Returns the implementation of service deployed in the container with application scope.
ETC_DIR - Static variable in class org.gcube.common.mycontainer.Utils
The local name of the deployment folder inside the install location of the container.
evaluate(String) - Method in class org.gcube.common.mycontainer.ResourcePropertyHelper
Evaluates an XPath expression and returns matching values as strings.
evaluateForNodes(String) - Method in class org.gcube.common.mycontainer.ResourcePropertyHelper
Evaluates an XPath expression and returns matching values as a NodeList.
execute(ISQuery<RESULT>, GCUBEScope) - Method in class org.gcube.common.mycontainer.dependencies.ProxyISClient
 
executeByRef(ISQuery<RESULT>, GCUBEScope) - Method in class org.gcube.common.mycontainer.dependencies.ProxyISClient
 

F

file() - Method in class org.gcube.common.mycontainer.Gar
 
findContainerLocation() - Static method in class org.gcube.common.mycontainer.Utils
Returns a singleton Properties with the Utils.CONTAINER_LOCATION_PROPERTY set to the installation of a container found on the local file system.
findContainerProperties() - Static method in class org.gcube.common.mycontainer.Utils
Returns the Properties in a Utils.PROPERTY_FILE.

G

Gar - Class in org.gcube.common.mycontainer
A set of configuration and binary resources for deployment in an instance of MyContainer.
Gar(File) - Constructor for class org.gcube.common.mycontainer.Gar
Creates an instance from an existing Gar file.
Gar(String) - Constructor for class org.gcube.common.mycontainer.Gar
Creates an instance with a given identifier.
GarDeployer - Class in org.gcube.common.mycontainer
 
getQuery(Class<QUERY>) - Method in class org.gcube.common.mycontainer.dependencies.ProxyISClient
 
getQuery(String) - Method in class org.gcube.common.mycontainer.dependencies.ProxyISClient
 

I

id() - Method in class org.gcube.common.mycontainer.Gar
 
interfaces() - Method in class org.gcube.common.mycontainer.Gar
Returns the interface resources in this Gar.
isRunning() - Method in class org.gcube.common.mycontainer.MyContainer
isTopicRegistered(GCUBESecurityManager, GCUBEScope, List<ISNotifier.TopicData>) - Method in class org.gcube.common.mycontainer.dependencies.ProxyISNotifier
 

K

keyOf(EndpointReferenceType, String) - Static method in class org.gcube.common.mycontainer.MyContainerUtils
Extract the key of a service instance from a reference to the instance.

L

lastModified() - Method in class org.gcube.common.mycontainer.Gar
Return the most recent modification to the resources in the Gar.
LIB_DIR - Static variable in class org.gcube.common.mycontainer.Utils
The local name of the library folder inside the install location of the container.
libLocation() - Method in class org.gcube.common.mycontainer.MyContainer
Returns the container's library folder.
libs() - Method in class org.gcube.common.mycontainer.Gar
Returns the library resources in this Gar.
location() - Method in class org.gcube.common.mycontainer.MyContainer
Returns the location of the container's installation.

M

MyContainer - Class in org.gcube.common.mycontainer
An embedded gCore container for integration testing.
MyContainer(Gar...) - Constructor for class org.gcube.common.mycontainer.MyContainer
Creates an instance configured with: the properties found in a Utils.PROPERTY_FILE zero or more Gars Note that:
MyContainer(String, Gar...) - Constructor for class org.gcube.common.mycontainer.MyContainer
Creates an instance configured: a given location default properties zero or more Gars Note that the Gars are deployed when the container is started.
MyContainer(Properties, Gar...) - Constructor for class org.gcube.common.mycontainer.MyContainer
Creates an instance configured with: given properties zero or more Gars Note that the Gars are deployed when the container is started.
MyContainer(Properties, boolean, Gar...) - Constructor for class org.gcube.common.mycontainer.MyContainer
An overload of MyContainer.MyContainer(Properties, Gar...) where the configuration properties passed in input can augment or override those in a Utils.PROPERTY_FILE.
MyContainerDependencies - Class in org.gcube.common.mycontainer
Stores and resolves implementations of container dependencies to use for testing purposes, typically mock implementations defined in the scope of tests.
MyContainerDependencies() - Constructor for class org.gcube.common.mycontainer.MyContainerDependencies
 
MyContainerTestRunner - Class in org.gcube.common.mycontainer
A JUnit Runner for integration tests in MyContainer.
MyContainerTestRunner(Class<?>) - Constructor for class org.gcube.common.mycontainer.MyContainerTestRunner
Creates an instance for a test class.
MyContainerUtils - Class in org.gcube.common.mycontainer
Test utilities for in-container tests
MyContainerUtils() - Constructor for class org.gcube.common.mycontainer.MyContainerUtils
 

O

org.gcube.common.mycontainer - package org.gcube.common.mycontainer
 
org.gcube.common.mycontainer.dependencies - package org.gcube.common.mycontainer.dependencies
 

P

PORT_PROPERTY - Static variable in class org.gcube.common.mycontainer.Utils
The name of the property for the timeout on startup
propertiesOf(EndpointReferenceType) - Static method in class org.gcube.common.mycontainer.ResourcePropertyHelper
 
PROPERTY_FILE - Static variable in class org.gcube.common.mycontainer.Utils
 
ProxyISClient - Class in org.gcube.common.mycontainer.dependencies
An ISClient that dispatches invocations to an implementation set on MyContainerDependencies, typically a mock created in the scope of a test.
ProxyISClient() - Constructor for class org.gcube.common.mycontainer.dependencies.ProxyISClient
 
ProxyISNotifier - Class in org.gcube.common.mycontainer.dependencies
An ISNotifier that dispatches invocations to an implementation set on MyContainerDependencies, typically a mock created in the scope of a test.
ProxyISNotifier() - Constructor for class org.gcube.common.mycontainer.dependencies.ProxyISNotifier
 
ProxyISPublisher - Class in org.gcube.common.mycontainer.dependencies
An ISPublisher that dispatches invocations to an implementation set on MyContainerDependencies, typically a mock created in the scope of a test.
ProxyISPublisher() - Constructor for class org.gcube.common.mycontainer.dependencies.ProxyISPublisher
 
put(Class<T>, T) - Static method in class org.gcube.common.mycontainer.MyContainerDependencies
Stores a dependency.

R

reference(String) - Method in class org.gcube.common.mycontainer.MyContainer
Returns a reference to a service running in the container on the default port.
reference(String, int) - Method in class org.gcube.common.mycontainer.MyContainer
Returns a reference to a service running in the container started at a given port.
reference(String, String, String) - Method in class org.gcube.common.mycontainer.MyContainer
Returns a reference to an instance of a service running in the container started at the default port.
reference(String, String, String, int) - Method in class org.gcube.common.mycontainer.MyContainer
Returns a reference to an instance of a service running in the container started at a given port.
Reference - Annotation Type in org.gcube.common.mycontainer
 
registerGCUBEResource(GCUBEResource, GCUBEScope, GCUBESecurityManager) - Method in class org.gcube.common.mycontainer.dependencies.ProxyISPublisher
 
registerISNotification(EndpointReferenceType, List<? extends Topic>, GCUBESecurityManager, GCUBEScope...) - Method in class org.gcube.common.mycontainer.dependencies.ProxyISNotifier
 
registerToISNotification(T, List<ISNotifier.GCUBENotificationTopic>, GCUBESecurityManager, GCUBEScope...) - Method in class org.gcube.common.mycontainer.dependencies.ProxyISNotifier
 
registerWSResource(GCUBEWSResource, GCUBEScope...) - Method in class org.gcube.common.mycontainer.dependencies.ProxyISPublisher
 
removeGCUBEResource(String, String, GCUBEScope, GCUBESecurityManager) - Method in class org.gcube.common.mycontainer.dependencies.ProxyISPublisher
 
removeWSResource(GCUBEWSResource, GCUBEScope...) - Method in class org.gcube.common.mycontainer.dependencies.ProxyISPublisher
 
resolve(Class<T>) - Static method in class org.gcube.common.mycontainer.MyContainerDependencies
Resolve a dependency from its Class.
ResourcePropertyHelper - Class in org.gcube.common.mycontainer
Simple XPath evaluator over resource property documents.
ResourcePropertyHelper(EndpointReferenceType) - Constructor for class org.gcube.common.mycontainer.ResourcePropertyHelper
Creates an instance with a reference to a service instance.
runChild(FrameworkMethod, RunNotifier) - Method in class org.gcube.common.mycontainer.MyContainerTestRunner

S

Scope - Annotation Type in org.gcube.common.mycontainer
Associates a test class or a single test method with a given scope.
setEndpoint(String, Object) - Method in class org.gcube.common.mycontainer.MyContainer
 
show() - Method in class org.gcube.common.mycontainer.ResourcePropertyHelper
Evaluates an XPath expression and returns matching values as strings.
start() - Method in class org.gcube.common.mycontainer.MyContainer
Starts the container, deploying the GARs with which it was configured.
STARTUP_TIMEOUT_PROPERTY - Static variable in class org.gcube.common.mycontainer.Utils
The name of the property for the timeout on startup
stop() - Method in class org.gcube.common.mycontainer.MyContainer
Stops the container.
STORAGE_DIR - Static variable in class org.gcube.common.mycontainer.Utils
The local name of the storage folder inside the install location of the container.
storageLocation() - Method in class org.gcube.common.mycontainer.MyContainer
Returns the container's storage folder.

U

unregisterFromISNotification(GCUBESecurityManager, List<ISNotifier.GCUBENotificationTopic>, GCUBEScope...) - Method in class org.gcube.common.mycontainer.dependencies.ProxyISNotifier
 
unregisterISNotification(EndpointReferenceType, List<? extends Topic>, GCUBESecurityManager, GCUBEScope...) - Method in class org.gcube.common.mycontainer.dependencies.ProxyISNotifier
 
updateGCUBEResource(GCUBEResource, GCUBEScope, GCUBESecurityManager) - Method in class org.gcube.common.mycontainer.dependencies.ProxyISPublisher
 
updateWSResource(GCUBEWSResource, GCUBEScope...) - Method in class org.gcube.common.mycontainer.dependencies.ProxyISPublisher
 
Utils - Class in org.gcube.common.mycontainer
API-wide utilities and constants.
Utils() - Constructor for class org.gcube.common.mycontainer.Utils
 

W

withAfterClasses(Statement) - Method in class org.gcube.common.mycontainer.MyContainerTestRunner
withBeforeClasses(Statement) - Method in class org.gcube.common.mycontainer.MyContainerTestRunner

A C D E F G I K L M O P R S U W

Copyright © 2013. All Rights Reserved.