A B C D E F G H I L M N O P R S T U V

A

AbstractHandler<T extends AbstractHandler<T>> - Class in org.gcube.common.ghn.service.handlers
Partial implementation of ApplicationHandler.
AbstractHandler() - Constructor for class org.gcube.common.ghn.service.handlers.AbstractHandler
 
add(Property...) - Method in class org.gcube.common.ghn.service.context.Properties
Adds one or more properties to this collection.
application() - Method in interface org.gcube.common.ghn.service.context.ApplicationContext
 
application() - Method in class org.gcube.common.ghn.service.context.DefaultContext
 
ApplicationContext - Interface in org.gcube.common.ghn.service.context
 
ApplicationEvent<T extends ApplicationHandler<T>> - Class in org.gcube.common.ghn.service.events
An event that occurs in the lifetime of the application.
ApplicationFilter - Class in org.gcube.common.ghn.service
A Filter that executes a Pipeline of RequestHandlers before and a client request is delivered to a given servlet and before the response produced by the servlet is returned to the client.
ApplicationFilter(ApplicationContext, String, Pipeline<RequestHandler>) - Constructor for class org.gcube.common.ghn.service.ApplicationFilter
Creates an instance with the name of the target servlet and a pipeline.
ApplicationHandler<T extends ApplicationHandler<T>> - Interface in org.gcube.common.ghn.service.handlers
Handles ApplicationEvents.
ApplicationInitializer - Class in org.gcube.common.ghn.service
Adds a ApplicationListener to managed services.
ApplicationInitializer() - Constructor for class org.gcube.common.ghn.service.ApplicationInitializer
 
ApplicationLifetime - Class in org.gcube.common.ghn.service.extensions
 
ApplicationLifetime() - Constructor for class org.gcube.common.ghn.service.extensions.ApplicationLifetime
 
ApplicationListener - Class in org.gcube.common.ghn.service
A ServletContextListener which bootstraps gCube management of a web application.
ApplicationListener() - Constructor for class org.gcube.common.ghn.service.ApplicationListener
 
ApplicationManager - Class in org.gcube.common.ghn.service
Coordinates management functions for a given application.
ApplicationManager() - Constructor for class org.gcube.common.ghn.service.ApplicationManager
 

B

bind(InputStream) - Method in class org.gcube.common.ghn.service.configuration.ConfigurationBinder
Returns a Configuration from its XML serialisation.
bindHandlers(InputStream) - Method in class org.gcube.common.ghn.service.configuration.ConfigurationBinder
Returns a Configuration from its XML serialisation.

C

Configuration - Class in org.gcube.common.ghn.service.configuration
The configuration of a managed app.
Configuration() - Constructor for class org.gcube.common.ghn.service.configuration.Configuration
 
configuration() - Method in interface org.gcube.common.ghn.service.context.ApplicationContext
 
configuration() - Method in class org.gcube.common.ghn.service.context.DefaultContext
 
configuration(ServletContext) - Method in class org.gcube.common.ghn.service.provider.DefaultProvider
 
configuration_file_path - Static variable in class org.gcube.common.ghn.service.Constants
The configuration file path..
ConfigurationBinder - Class in org.gcube.common.ghn.service.configuration
Binds Configurations to and from XML serialisations.
ConfigurationBinder() - Constructor for class org.gcube.common.ghn.service.configuration.ConfigurationBinder
 
Constants - Class in org.gcube.common.ghn.service
Library-wide constants.
Constants() - Constructor for class org.gcube.common.ghn.service.Constants
 
contains(String) - Method in class org.gcube.common.ghn.service.context.Properties
Returns true if this collection contains a given property.
context() - Method in class org.gcube.common.ghn.service.events.ApplicationEvent
Returns the context of the application.
contextDestroyed(ServletContextEvent) - Method in class org.gcube.common.ghn.service.ApplicationListener
 
contextFor(ServletContext) - Method in class org.gcube.common.ghn.service.provider.DefaultProvider
 
contextFor(ServletContext) - Method in interface org.gcube.common.ghn.service.provider.Provider
 
contextInitialized(ServletContextEvent) - Method in class org.gcube.common.ghn.service.ApplicationListener
 

D

default_handlers_file_path - Static variable in class org.gcube.common.ghn.service.Constants
The default lifecycle configuration file path.
DefaultContext - Class in org.gcube.common.ghn.service.context
 
DefaultContext(ServletContext, Configuration, Hub, Lifecycle, Properties) - Constructor for class org.gcube.common.ghn.service.context.DefaultContext
 
DefaultContext(ApplicationContext) - Constructor for class org.gcube.common.ghn.service.context.DefaultContext
 
DefaultLifecycle - Class in org.gcube.common.ghn.service.lifecycle
 
DefaultLifecycle(Hub, String) - Constructor for class org.gcube.common.ghn.service.lifecycle.DefaultLifecycle
 
DefaultProvider - Class in org.gcube.common.ghn.service.provider
 
DefaultProvider() - Constructor for class org.gcube.common.ghn.service.provider.DefaultProvider
 
delete(String) - Method in class org.gcube.common.ghn.service.context.Properties
Removes a given property.
description() - Method in class org.gcube.common.ghn.service.configuration.Configuration
Returns the description of the service.
description(String) - Method in class org.gcube.common.ghn.service.configuration.Configuration
Sets the description of the service.
description() - Method in class org.gcube.common.ghn.service.context.Property
Returns the description of this property.
destroy() - Method in class org.gcube.common.ghn.service.ApplicationFilter
 
display(boolean) - Method in class org.gcube.common.ghn.service.context.Property
Sets whether the property is intended for display
doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class org.gcube.common.ghn.service.ApplicationFilter
 
doGet(HttpServletRequest, HttpServletResponse) - Method in class org.gcube.common.ghn.service.extensions.ApplicationLifetime
 

E

endpointChanged - Static variable in class org.gcube.common.ghn.service.Constants
 
equals(Object) - Method in class org.gcube.common.ghn.service.configuration.Configuration
 
equals(Object) - Method in class org.gcube.common.ghn.service.context.Properties
 
equals(Object) - Method in class org.gcube.common.ghn.service.context.Property
 
equals(Object) - Method in class org.gcube.common.ghn.service.persistence.LocalPersistence
 
events() - Method in interface org.gcube.common.ghn.service.context.ApplicationContext
 
events() - Method in class org.gcube.common.ghn.service.context.DefaultContext
 

F

failed - Static variable in interface org.gcube.common.ghn.service.lifecycle.Lifecycle
The event qualifier that correspond to the Lifecycle.failed state of the service lifecycle.
file(String) - Method in class org.gcube.common.ghn.service.persistence.LocalPersistence
 
file(String) - Method in interface org.gcube.common.ghn.service.persistence.Persistence
 
forward(ApplicationEvent<H>) - Method in class org.gcube.common.ghn.service.handlers.Pipeline
Forwards an event through the pipeline.

G

group(String) - Method in class org.gcube.common.ghn.service.configuration.Configuration
Sets the class of the service.

H

handleRequest(RequestEvent) - Method in class org.gcube.common.ghn.service.handlers.request.ScopeHandler
 
handleRequest(RequestEvent) - Method in class org.gcube.common.ghn.service.handlers.RequestHandler
Invoked when the container receives a request for a servlet of a managed app.
handleResponse(ResponseEvent) - Method in class org.gcube.common.ghn.service.handlers.RequestHandler
Invoked when a servlet of a managed app has produced a response to a request.
Handlers - Class in org.gcube.common.ghn.service.configuration
The ApplicationHandlers that manage the application.
Handlers() - Constructor for class org.gcube.common.ghn.service.configuration.Handlers
 
handlers() - Method in class org.gcube.common.ghn.service.handlers.Pipeline
Returns the handlers in this pipeline.
handlers_file_path - Static variable in class org.gcube.common.ghn.service.Constants
The lifecycle configuration file path.
handlersFor(ApplicationContext) - Method in class org.gcube.common.ghn.service.provider.DefaultProvider
 
handlersFor(ApplicationContext) - Method in interface org.gcube.common.ghn.service.provider.Provider
 
hashCode() - Method in class org.gcube.common.ghn.service.configuration.Configuration
 
hashCode() - Method in class org.gcube.common.ghn.service.context.Properties
 
hashCode() - Method in class org.gcube.common.ghn.service.context.Property
 
hashCode() - Method in class org.gcube.common.ghn.service.persistence.LocalPersistence
 

I

init(FilterConfig) - Method in class org.gcube.common.ghn.service.ApplicationFilter
 
is(Class<?>) - Method in class org.gcube.common.ghn.service.context.Property
Returns true if the value of this property has a given type.
isDisplay() - Method in class org.gcube.common.ghn.service.context.Property
Returns true if the property is intended for display
isEmpty() - Method in class org.gcube.common.ghn.service.context.Properties
Returns true if this collection has no properties.
iterator() - Method in class org.gcube.common.ghn.service.context.Properties
 

L

lifecycle() - Method in interface org.gcube.common.ghn.service.context.ApplicationContext
 
lifecycle() - Method in class org.gcube.common.ghn.service.context.DefaultContext
 
Lifecycle - Interface in org.gcube.common.ghn.service.lifecycle
The lifecycle of an application managed as a gCube service.
LifecycleEvent - Class in org.gcube.common.ghn.service.events
An ApplicationEvent that occurs when the application starts or shuts down.
LifecycleEvent.Start - Class in org.gcube.common.ghn.service.events
An ApplicationEvent that occurs when the application starts.
LifecycleEvent.Start(ApplicationContext) - Constructor for class org.gcube.common.ghn.service.events.LifecycleEvent.Start
Creates an instance for a given ApplicationContext.
LifecycleEvent.Stop - Class in org.gcube.common.ghn.service.events
An ApplicationEvent that occurs when the application stops.
LifecycleEvent.Stop(ApplicationContext) - Constructor for class org.gcube.common.ghn.service.events.LifecycleEvent.Stop
Creates an instance for a given ApplicationContext.
LifecycleHandler - Class in org.gcube.common.ghn.service.handlers
A Handler of LifecycleEvents.
LifecycleHandler() - Constructor for class org.gcube.common.ghn.service.handlers.LifecycleHandler
 
lifecycleHandlers() - Method in class org.gcube.common.ghn.service.configuration.Handlers
Returns the LifecycleHandlers for the service.
LocalPersistence - Class in org.gcube.common.ghn.service.persistence
 
LocalPersistence() - Constructor for class org.gcube.common.ghn.service.persistence.LocalPersistence
 
LocalPersistence(String) - Constructor for class org.gcube.common.ghn.service.persistence.LocalPersistence
 
location() - Method in class org.gcube.common.ghn.service.persistence.LocalPersistence
 
location() - Method in interface org.gcube.common.ghn.service.persistence.Persistence
 
lookup(String) - Method in class org.gcube.common.ghn.service.context.Properties
Returns a given property in this collection.

M

mode() - Method in class org.gcube.common.ghn.service.configuration.Configuration
Returns the management Mode.
mode(Mode) - Method in class org.gcube.common.ghn.service.configuration.Configuration
Sets the management mode.
Mode - Enum in org.gcube.common.ghn.service.configuration
The management mode of a service.
moveTo(State) - Method in class org.gcube.common.ghn.service.lifecycle.DefaultLifecycle
 
moveTo(State) - Method in interface org.gcube.common.ghn.service.lifecycle.Lifecycle
Transition this lifecycle to a given state.

N

name() - Method in class org.gcube.common.ghn.service.configuration.Configuration
Returns the name of the service.
name(String) - Method in class org.gcube.common.ghn.service.configuration.Configuration
Sets the name of the service.
name() - Method in interface org.gcube.common.ghn.service.context.ApplicationContext
 
name() - Method in class org.gcube.common.ghn.service.context.DefaultContext
 
name() - Method in class org.gcube.common.ghn.service.context.Property
Returns the name of this property.
next() - Method in enum org.gcube.common.ghn.service.lifecycle.State
Returns the list of states to which services can transition to from this state.
notEmpty(String, String) - Static method in class org.gcube.common.ghn.service.utils.Utils
 
notEmpty(String, Object[]) - Static method in class org.gcube.common.ghn.service.utils.Utils
 
notNull(Object[]) - Static method in class org.gcube.common.ghn.service.utils.Utils
 
notNull(String, Object) - Static method in class org.gcube.common.ghn.service.utils.Utils
 

O

onEvent(ApplicationEvent<T>) - Method in interface org.gcube.common.ghn.service.handlers.ApplicationHandler
Processes a given event.
onEvent(ApplicationEvent<LifecycleHandler>) - Method in class org.gcube.common.ghn.service.handlers.LifecycleHandler
 
onEvent(ApplicationEvent<RequestHandler>) - Method in class org.gcube.common.ghn.service.handlers.RequestHandler
 
onStart(LifecycleEvent.Start) - Method in class org.gcube.common.ghn.service.handlers.lifecycle.Publisher
 
onStart(LifecycleEvent.Start) - Method in class org.gcube.common.ghn.service.handlers.LifecycleHandler
Invoked when the container starts a managed app.
onStartup(Set<Class<?>>, ServletContext) - Method in class org.gcube.common.ghn.service.ApplicationInitializer
 
onStop(LifecycleEvent.Stop) - Method in class org.gcube.common.ghn.service.handlers.LifecycleHandler
Invoked when the container stops a managed app.
org.gcube.common.ghn.service - package org.gcube.common.ghn.service
 
org.gcube.common.ghn.service.configuration - package org.gcube.common.ghn.service.configuration
 
org.gcube.common.ghn.service.context - package org.gcube.common.ghn.service.context
 
org.gcube.common.ghn.service.events - package org.gcube.common.ghn.service.events
 
org.gcube.common.ghn.service.extensions - package org.gcube.common.ghn.service.extensions
 
org.gcube.common.ghn.service.handlers - package org.gcube.common.ghn.service.handlers
 
org.gcube.common.ghn.service.handlers.lifecycle - package org.gcube.common.ghn.service.handlers.lifecycle
 
org.gcube.common.ghn.service.handlers.request - package org.gcube.common.ghn.service.handlers.request
 
org.gcube.common.ghn.service.lifecycle - package org.gcube.common.ghn.service.lifecycle
 
org.gcube.common.ghn.service.persistence - package org.gcube.common.ghn.service.persistence
 
org.gcube.common.ghn.service.provider - package org.gcube.common.ghn.service.provider
 
org.gcube.common.ghn.service.utils - package org.gcube.common.ghn.service.utils
 

P

persistence() - Method in class org.gcube.common.ghn.service.configuration.Configuration
Returns the LocalPersistence for the service.
persistence(Persistence) - Method in class org.gcube.common.ghn.service.configuration.Configuration
Sets the LocalPersistence for the service.
persistence() - Method in interface org.gcube.common.ghn.service.context.ApplicationContext
 
persistence() - Method in class org.gcube.common.ghn.service.context.DefaultContext
 
Persistence - Interface in org.gcube.common.ghn.service.persistence
 
Pipeline<H extends ApplicationHandler<H>> - Class in org.gcube.common.ghn.service.handlers
An ordered list ApplicationHandlers that handle related ApplicationEvents.
Pipeline(List<H>) - Constructor for class org.gcube.common.ghn.service.handlers.Pipeline
Creates an instance with a given list of handlers.
previous() - Method in class org.gcube.common.ghn.service.lifecycle.DefaultLifecycle
 
previous() - Method in interface org.gcube.common.ghn.service.lifecycle.Lifecycle
Returns the state from which this lifecycle transitioned to its current state.
profile_file_name - Static variable in class org.gcube.common.ghn.service.Constants
The configuration file name.
profile_property - Static variable in class org.gcube.common.ghn.service.Constants
The name of the property that contains the endpoint profile.
properties() - Method in interface org.gcube.common.ghn.service.context.ApplicationContext
 
properties() - Method in class org.gcube.common.ghn.service.context.DefaultContext
 
Properties - Class in org.gcube.common.ghn.service.context
A collection of uniquely named Properties.
Properties(Properties) - Constructor for class org.gcube.common.ghn.service.context.Properties
 
Properties() - Constructor for class org.gcube.common.ghn.service.context.Properties
 
Property - Class in org.gcube.common.ghn.service.context
A named property with a value and a description.
Property(String, Object) - Constructor for class org.gcube.common.ghn.service.context.Property
Creates an instance with a given name and value.
Property(String, Object, String) - Constructor for class org.gcube.common.ghn.service.context.Property
Creates an instance with a given name, value, and description.
Provider - Interface in org.gcube.common.ghn.service.provider
 
provider() - Static method in class org.gcube.common.ghn.service.provider.ProviderFactory
 
ProviderFactory - Class in org.gcube.common.ghn.service.provider
 
ProviderFactory() - Constructor for class org.gcube.common.ghn.service.provider.ProviderFactory
 
publish_services - Static variable in class org.gcube.common.ghn.service.Constants
The configuration name of Publishers.
Publisher - Class in org.gcube.common.ghn.service.handlers.lifecycle
 
Publisher() - Constructor for class org.gcube.common.ghn.service.handlers.lifecycle.Publisher
 

R

ready - Static variable in interface org.gcube.common.ghn.service.lifecycle.Lifecycle
The event qualifier that correspond to the Lifecycle.ready state of the service lifecycle.
registryPublisher(RegistryPublisher) - Method in class org.gcube.common.ghn.service.handlers.lifecycle.Publisher
 
remoteForm() - Method in enum org.gcube.common.ghn.service.lifecycle.State
Returns a serialisation of this state for exchange purposes.
request() - Method in class org.gcube.common.ghn.service.events.RequestEvent
Returns the client request.
RequestEvent - Class in org.gcube.common.ghn.service.events
An ApplicationEvent that occurs when a request reaches a servlet of the application.
RequestEvent(String, ApplicationContext, HttpServletRequest) - Constructor for class org.gcube.common.ghn.service.events.RequestEvent
Creates an instance with the application context, the client request, and the name of the target servlet.
RequestHandler - Class in org.gcube.common.ghn.service.handlers
A Handler of RequestEvents and ResponseEvents.
RequestHandler() - Constructor for class org.gcube.common.ghn.service.handlers.RequestHandler
 
requestHandlers() - Method in class org.gcube.common.ghn.service.configuration.Handlers
Returns the RequestHandlers for the service.
response() - Method in class org.gcube.common.ghn.service.events.ResponseEvent
Returns the response.
ResponseEvent - Class in org.gcube.common.ghn.service.events
A ApplicationEvent that occurs when the application returns a response to a given request.
ResponseEvent(String, ApplicationContext, HttpServletRequest, HttpServletResponse) - Constructor for class org.gcube.common.ghn.service.events.ResponseEvent
Creates an instance with the name of the target servlet, the context of the application, the client request, and the application response.
reverse() - Method in class org.gcube.common.ghn.service.handlers.Pipeline
Returns a pipeline with the same handlers as this pipeline, only in reverse order.

S

scope_header - Static variable in class org.gcube.common.ghn.service.Constants
 
SCOPE_HEADER_NAME - Static variable in class org.gcube.common.ghn.service.handlers.request.ScopeHandler
Name of the scope call header.
scope_management - Static variable in class org.gcube.common.ghn.service.Constants
The configuration name of ScopeHandlers.
SCOPE_NS - Static variable in class org.gcube.common.ghn.service.handlers.request.ScopeHandler
Namespace of scope-related headers
SCOPE_QNAME - Static variable in class org.gcube.common.ghn.service.handlers.request.ScopeHandler
 
ScopeHandler - Class in org.gcube.common.ghn.service.handlers.request
 
ScopeHandler() - Constructor for class org.gcube.common.ghn.service.handlers.request.ScopeHandler
 
serviceClass() - Method in class org.gcube.common.ghn.service.configuration.Configuration
Returns the class of the service
serviceFailure - Static variable in class org.gcube.common.ghn.service.Constants
 
servlet() - Method in class org.gcube.common.ghn.service.events.RequestEvent
Returns the name of the target servlet.
set(LifecycleHandler...) - Method in class org.gcube.common.ghn.service.configuration.Handlers
Sets the LifecycleHandlers for the service.
set(RequestHandler...) - Method in class org.gcube.common.ghn.service.configuration.Handlers
Sets the RequestHandlers for the service.
start(ServletContext) - Method in class org.gcube.common.ghn.service.ApplicationManager
Starts application management functions.
start(ApplicationContext) - Method in class org.gcube.common.ghn.service.handlers.RequestHandler
Initialises the handler.
started - Static variable in interface org.gcube.common.ghn.service.lifecycle.Lifecycle
The event qualifier that correspond to the Lifecycle.started state of the service lifecycle.
startScopes() - Method in class org.gcube.common.ghn.service.configuration.Configuration
Returns the start scopes of the service
startScopes(String...) - Method in class org.gcube.common.ghn.service.configuration.Configuration
Sets the start scopes of the service.
state() - Method in class org.gcube.common.ghn.service.lifecycle.DefaultLifecycle
 
state() - Method in interface org.gcube.common.ghn.service.lifecycle.Lifecycle
Returns the current state of this lifecycle.
State - Enum in org.gcube.common.ghn.service.lifecycle
The state and state transitions of the lifecycle of an application managed as a gCube service.
stop(ServletContext) - Method in class org.gcube.common.ghn.service.ApplicationManager
Stops application management functions.
stop() - Method in class org.gcube.common.ghn.service.handlers.RequestHandler
Terminates the handler.
stopped - Static variable in interface org.gcube.common.ghn.service.lifecycle.Lifecycle
The event qualifier that correspond to the Lifecycle.stopped state of the service lifecycle.

T

testProvider(Provider) - Static method in class org.gcube.common.ghn.service.provider.ProviderFactory
 
toString() - Method in class org.gcube.common.ghn.service.context.Properties
 
toString() - Method in class org.gcube.common.ghn.service.context.Property
 
toString() - Method in class org.gcube.common.ghn.service.events.ApplicationEvent
 
toString() - Method in class org.gcube.common.ghn.service.events.ResponseEvent
 
toString() - Method in class org.gcube.common.ghn.service.handlers.AbstractHandler
 
tryMoveTo(State) - Method in class org.gcube.common.ghn.service.lifecycle.DefaultLifecycle
 
tryMoveTo(State) - Method in interface org.gcube.common.ghn.service.lifecycle.Lifecycle
Attempts to transition this lifecycle to a given state, but does not fail if the transition is illegal for this lifecycle.

U

unchecked(Throwable) - Static method in class org.gcube.common.ghn.service.utils.Utils
 
uri() - Method in class org.gcube.common.ghn.service.events.RequestEvent
 
Utils - Class in org.gcube.common.ghn.service.utils
 
Utils() - Constructor for class org.gcube.common.ghn.service.utils.Utils
 

V

valid(String, Object[]) - Static method in class org.gcube.common.ghn.service.utils.Utils
 
valid(String, String) - Static method in class org.gcube.common.ghn.service.utils.Utils
 
validate() - Method in class org.gcube.common.ghn.service.configuration.Configuration
 
value() - Method in class org.gcube.common.ghn.service.context.Property
Returns the value of this property.
value(Class<S>) - Method in class org.gcube.common.ghn.service.context.Property
Returns the value of this property under a given type.
valueOf(String) - Static method in enum org.gcube.common.ghn.service.configuration.Mode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.gcube.common.ghn.service.lifecycle.State
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.gcube.common.ghn.service.configuration.Mode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.gcube.common.ghn.service.lifecycle.State
Returns an array containing the constants of this enum type, in the order they are declared.
version() - Method in class org.gcube.common.ghn.service.configuration.Configuration
Returns the version of the service
version(String) - Method in class org.gcube.common.ghn.service.configuration.Configuration
Sets the version of the service.

A B C D E F G H I L M N O P R S T U V

Copyright © 2013. All Rights Reserved.