public class CustomComponent extends Provisionable
appName, dataPrefix, eacHost, eacPort, elementId, lockManager, logDir, sslEnabled, workingDir| Constructor and Description |
|---|
CustomComponent()
Custom component constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
buildEacStub()
Builds the map of properties that serve as the definition for this
component.
|
Map<String,String> |
getCustomDirectories() |
Host |
getHost()
Constructs a host object by specifying a host ID that should be retrieved
from the EAC.
|
String |
getHostId() |
Map<String,String> |
getProperties() |
String |
getProperty(String propName)
Retrieves a custom property with the specified name.
|
boolean |
isDefined()
Extending objects will implement this method, returning true if the
provisioned object's definition is set in the EAC.
|
boolean |
isDefinitionChanged()
Extending objects will implement this method, returning true if the
provisioned object's definition has changed in the EAC.
|
void |
removeDefinition()
Extending objects will implement this method to remove the definition
of the provisioned object from the EAC.
|
void |
setCustomDirectories(Map<String,String> customDirectories) |
void |
setDefinition()
Extending objects will implement this method to add the definition
of the provisioned object to the EAC.
|
void |
setHostId(String hostId) |
void |
setProperties(Map<String,String> properties) |
void |
updateDefinition()
Extending objects will implement this method to update the definition
of the provisioned object in the EAC.
|
getAppDefinitionFromEac, getCachedAppDefinition, getProvisioningPort, invalidateCachedAppDefinition, setCachedAppDefinitiongetAppName, getDataPrefix, getEacHost, getEacPort, getElementId, getLockManager, getLogDir, getWorkingDir, isSslEnabled, setAppName, setDataPrefix, setEacHost, setEacPort, setElementId, setLockManager, setLogDir, setSslEnabled, setWorkingDirpublic boolean isDefined()
throws EacCommunicationException,
EacProvisioningException
ProvisionableisDefined in class ProvisionableEacCommunicationException - 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 boolean isDefinitionChanged()
throws EacCommunicationException,
EacProvisioningException
ProvisionableisDefinitionChanged in class ProvisionableEacCommunicationException - 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 void removeDefinition()
throws EacCommunicationException,
EacComponentControlException
ProvisionableremoveDefinition in class ProvisionableEacCommunicationException - 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 void setDefinition()
throws EacCommunicationException
ProvisionablesetDefinition in class ProvisionableEacCommunicationException - If a communication error occurs while
retrieving the provisioning port.public void updateDefinition()
throws EacCommunicationException,
EacComponentControlException,
EacProvisioningException,
AppConfigurationException
ProvisionableupdateDefinition in class ProvisionableEacCommunicationException - 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.EacProvisioningException - If an error occurs while provisioning the
object or an associated object.AppConfigurationException - If an object's configuration is invalid.public Map<String,String> buildEacStub()
public Host getHost() throws EacCommunicationException
EacCommunicationExceptionpublic String getProperty(String propName)
propName - Name of the property to retrieve.public String getHostId()
public void setHostId(String hostId)
Copyright © 2015, Oracle and/or its affiliates. All rights reserved.