public class CascadingServices extends java.lang.Object
cascading/management/service.properties
(DEFAULT_PROPERTIES
) resource is found in. If the
property CONTAINER_ENABLED
value is false
, a ClassLoader container will not be created.
For this to work, all service implementation and dependencies must be archived into a single jar.
If any packages in the jar should be excluded, set a comma delimited list of names via the CONTAINER_EXCLUDE
property.
If the file cascading-service.properties
(CASCADING_SERVICES
) is found in the
CLASSPATH, the cascading.management.service.jar
property value will be used to search for
cascading/management/service.properties
resource.CascadingService
Modifier and Type | Class and Description |
---|---|
static class |
CascadingServices.NullDocumentService
Class NullDocumentService provides a null implementation.
|
static class |
CascadingServices.NullMetricsService
Class NullMetricsService provides a null implementation.
|
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CASCADING_SERVICES |
static java.lang.String |
CASCADING_SERVICES_JAR |
static java.lang.String |
CASCADING_SERVICES_JAR_DISABLE |
static java.lang.String |
CONTAINER_ENABLED |
static java.lang.String |
CONTAINER_EXCLUDE |
static java.lang.String |
DEFAULT_PROPERTIES |
Constructor and Description |
---|
CascadingServices(java.util.Map<java.lang.Object,java.lang.Object> properties) |
Modifier and Type | Method and Description |
---|---|
ClientState |
createClientState(java.lang.String id) |
protected DocumentService |
createDocumentService() |
protected MetricsService |
createMetricsService() |
DocumentService |
getDocumentService() |
MetricsService |
getMetricsService() |
public static final java.lang.String CASCADING_SERVICES
public static final java.lang.String CASCADING_SERVICES_JAR
public static final java.lang.String CASCADING_SERVICES_JAR_DISABLE
public static final java.lang.String DEFAULT_PROPERTIES
public static final java.lang.String CONTAINER_ENABLED
public static final java.lang.String CONTAINER_EXCLUDE
public CascadingServices(java.util.Map<java.lang.Object,java.lang.Object> properties)
public MetricsService getMetricsService()
public DocumentService getDocumentService()
public ClientState createClientState(java.lang.String id)
protected MetricsService createMetricsService()
protected DocumentService createDocumentService()
Copyright © 2007-2015 Xplenty, Inc. All Rights Reserved.