public abstract class Provisionable extends EacElement
appName, dataPrefix, eacHost, eacPort, elementId, lockManager, logDir, sslEnabled, workingDir
Constructor and Description |
---|
Provisionable() |
Modifier and Type | Method and Description |
---|---|
com.endeca.eac.client.ApplicationType |
getAppDefinitionFromEac()
Retrieves the application definition from the EAC.
|
com.endeca.eac.client.ApplicationType |
getCachedAppDefinition() |
com.endeca.eac.client.ProvisioningPort |
getProvisioningPort()
Retrieves the provisioning port that the application will use to send
provisioning commands to the EAC.
|
void |
invalidateCachedAppDefinition() |
abstract boolean |
isDefined()
Extending objects will implement this method, returning true if the
provisioned object's definition is set in the EAC.
|
abstract boolean |
isDefinitionChanged()
Extending objects will implement this method, returning true if the
provisioned object's definition has changed in the EAC.
|
abstract void |
removeDefinition()
Extending objects will implement this method to remove the definition
of the provisioned object from the EAC.
|
void |
setCachedAppDefinition(com.endeca.eac.client.ApplicationType cachedAppDefinition) |
abstract void |
setDefinition()
Extending objects will implement this method to add the definition
of the provisioned object to the EAC.
|
abstract void |
updateDefinition()
Extending objects will implement this method to update the definition
of the provisioned object in the EAC.
|
getAppName, getDataPrefix, getEacHost, getEacPort, getElementId, getLockManager, getLogDir, getWorkingDir, isSslEnabled, setAppName, setDataPrefix, setEacHost, setEacPort, setElementId, setLockManager, setLogDir, setSslEnabled, setWorkingDir
public abstract boolean isDefinitionChanged() throws EacCommunicationException, EacProvisioningException
EacCommunicationException
- If a communication error occurs while
retrieving the provisioning port.EacProvisioningException
- If an error occurs while trying to retrieve
the object definition from the EAC.public abstract boolean isDefined() throws EacCommunicationException, EacProvisioningException
EacCommunicationException
- If a communication error occurs while
retrieving the provisioning port.EacProvisioningException
- If an error occurs while trying to retrieve
the object definition from the EAC.public abstract void updateDefinition() throws EacCommunicationException, EacComponentControlException, EacProvisioningException, AppConfigurationException
EacCommunicationException
- If a communication error occurs while
retrieving the provisioning port.EacComponentControlException
- If an error occurs while trying to
start, stop or check the status of a component.AppConfigurationException
- If an object's configuration is invalid.EacProvisioningException
- If an error occurs while provisioning the
object or an associated object.public abstract void removeDefinition() throws EacCommunicationException, EacComponentControlException
EacCommunicationException
- If a communication error occurs while
retrieving the provisioning port.EacComponentControlException
- If an error occurs while trying to
start, stop or check the status of a component.public abstract void setDefinition() throws EacCommunicationException
EacCommunicationException
- If a communication error occurs while
retrieving the provisioning port.public com.endeca.eac.client.ApplicationType getAppDefinitionFromEac() throws EacCommunicationException
EacCommunicationException
- If a communication error occurs while
retrieving the provisioning port.public com.endeca.eac.client.ProvisioningPort getProvisioningPort() throws EacCommunicationException
EacCommunicationException
- If a communication error occurs while
retrieving the provisioning port.public com.endeca.eac.client.ApplicationType getCachedAppDefinition()
public void setCachedAppDefinition(com.endeca.eac.client.ApplicationType cachedAppDefinition)
public void invalidateCachedAppDefinition()
Copyright © 2014, Oracle and/or its affiliates. All rights reserved.