public class HttpApplicationLocationManagedObjectSource extends AbstractManagedObjectSource<HttpApplicationLocationManagedObjectSource.Dependencies,None>
Modifier and Type | Class and Description |
---|---|
static class |
HttpApplicationLocationManagedObjectSource.Dependencies
Dependency keys.
|
AbstractAsyncManagedObjectSource.DependencyLabeller, AbstractAsyncManagedObjectSource.Labeller, AbstractAsyncManagedObjectSource.MetaDataContext<D extends Enum<D>,F extends Enum<F>>, AbstractAsyncManagedObjectSource.SpecificationContext
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_HTTP_PORT
Default HTTP port.
|
static int |
DEFAULT_HTTPS_PORT
Default HTTPS port.
|
static String |
PROPERTY_CLUSTER_HOST
Name of property to obtain the fully qualified host name within the
cluster.
|
static String |
PROPERTY_CLUSTER_HTTP_PORT
Name of property to obtain the cluster HTTP port.
|
static String |
PROPERTY_CLUSTER_HTTPS_PORT
Name of property to obtain the cluster HTTPS port.
|
static String |
PROPERTY_CONTEXT_PATH
Name of property to obtain the HTTP context path.
|
static String |
PROPERTY_DOMAIN
Name of property to obtain the domain.
|
static String |
PROPERTY_HTTP_PORT
Name of property to obtain the HTTP port.
|
static String |
PROPERTY_HTTPS_PORT
Name of property to obtain the HTTPS port.
|
Constructor and Description |
---|
HttpApplicationLocationManagedObjectSource() |
Modifier and Type | Method and Description |
---|---|
static void |
copyProperties(SourceProperties source,
PropertyConfigurable target)
Copies the
Property instances. |
static String |
getDefaultHostName()
Obtains the default host name.
|
protected ManagedObject |
getManagedObject()
Synchronously obtains the
ManagedObject . |
protected void |
loadMetaData(AbstractAsyncManagedObjectSource.MetaDataContext<HttpApplicationLocationManagedObjectSource.Dependencies,None> context)
Overridden to load meta-data.
|
protected void |
loadSpecification(AbstractAsyncManagedObjectSource.SpecificationContext context)
Overridden to load specifications.
|
sourceManagedObject
getMetaData, getSpecification, init, start, stop
public static final String PROPERTY_DOMAIN
public static final String PROPERTY_HTTP_PORT
public static final int DEFAULT_HTTP_PORT
public static final String PROPERTY_HTTPS_PORT
public static final int DEFAULT_HTTPS_PORT
public static final String PROPERTY_CONTEXT_PATH
public static final String PROPERTY_CLUSTER_HOST
public static final String PROPERTY_CLUSTER_HTTP_PORT
public static final String PROPERTY_CLUSTER_HTTPS_PORT
public HttpApplicationLocationManagedObjectSource()
public static void copyProperties(SourceProperties source, PropertyConfigurable target)
Property
instances.source
- SourceProperties
.target
- PropertyConfigurable
.public static String getDefaultHostName()
Obtains the default host name.
Configuration may override this.
protected void loadSpecification(AbstractAsyncManagedObjectSource.SpecificationContext context)
AbstractAsyncManagedObjectSource
loadSpecification
in class AbstractAsyncManagedObjectSource<HttpApplicationLocationManagedObjectSource.Dependencies,None>
context
- Specifications.protected void loadMetaData(AbstractAsyncManagedObjectSource.MetaDataContext<HttpApplicationLocationManagedObjectSource.Dependencies,None> context) throws Exception
AbstractAsyncManagedObjectSource
loadMetaData
in class AbstractAsyncManagedObjectSource<HttpApplicationLocationManagedObjectSource.Dependencies,None>
context
- Meta-data.Exception
- If fails to load the meta-data.protected ManagedObject getManagedObject() throws Throwable
AbstractManagedObjectSource
ManagedObject
.getManagedObject
in class AbstractManagedObjectSource<HttpApplicationLocationManagedObjectSource.Dependencies,None>
ManagedObject
.Throwable
- If fails to obtain the ManagedObject
.Copyright © 2005–2016. All rights reserved.