public class ComponentInfoImpl extends Object implements ComponentInfo
ComponentInfo.Variable| Constructor and Description |
|---|
ComponentInfoImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addClassPathElement(String element) |
void |
addServiceUnitInfo(ServiceUnitInfo suInfo) |
void |
addSharedLibrary(String sharedLibraryName) |
boolean |
equals(Object object)
Determine if the supplied Object is equal to this one.
|
Properties |
getApplicationConfiguration(String name)
Get a specific application configuration.
|
String[] |
getApplicationConfigurationNames()
Get the names of all application configurations set on the component.
|
String |
getBootstrapClassName()
Get the class name of the bootstrap implementation for this BC or SE.
|
List |
getBootstrapClassPathElements()
Get the class path elements that this BC or SE needs in its bootstrap
runtime environment.
|
List |
getClassPathElements()
Get the class path elements.
|
String |
getComponentClassName()
Get the component class name.
|
ComponentType |
getComponentType()
Get the component type.
|
Properties |
getConfiguration()
Get the static component configuration.
|
String |
getDescription()
Get the description of the component.
|
String |
getInstallationDescriptor() |
String |
getInstallRoot()
Get the directory into which this component is installed.
|
String |
getName()
Get the name of the component.
|
Map |
getProperties()
Get the installation specific properties for the component.
|
List |
getServiceUnitList()
Get the list of ServiceUnitInfo objects representing all the SUs that
are currently deployed to this component; for Shared Libraries this is
null.
|
List |
getSharedLibraryNames()
Get the list of Shared Libraries required by this component.
|
ComponentState |
getStatus()
Get the Status of the Component.
|
long |
getTimestamp()
Get the timestamp associated with archive.
|
long |
getUpgradeNumber()
Get the grade associated with a component.
|
ComponentInfo.Variable[] |
getVariables()
Get the Environment Variables
|
String |
getWorkspaceRoot()
Get the workspace for the component
|
int |
hashCode()
Get a hash code for this ComponentInfo.
|
boolean |
isBootstrapClassLoaderSelfFirst() |
boolean |
isClassLoaderSelfFirst() |
void |
setApplicationConfiguration(String name,
Properties applicationConfig)
Get a specific application configuration.
|
void |
setBootstrapClassLoaderSelfFirst(boolean flag) |
void |
setBootstrapClassName(String name) |
void |
setBootstrapClassPathElements(List elements) |
void |
setClassLoaderSelfFirst(boolean flag) |
void |
setClassPathElements(List<String> elements) |
void |
setComponentClassName(String className) |
void |
setComponentType(ComponentType type) |
void |
setConfiguration(Properties configs)
Set the static component configuration.
|
void |
setDescription(String descr) |
void |
setInstallationDescriptor(String jbiXml) |
void |
setInstallRoot(String installRoot) |
void |
setName(String name) |
void |
setProperty(String key,
String value) |
void |
setServiceUnitList(List<ServiceUnitInfo> list) |
void |
setSharedLibraryNames(List<String> list) |
void |
setStatus(ComponentState state) |
void |
setTimestamp(long timestamp) |
void |
setUpgradeNumber(int upgradeNumber) |
void |
setVariables(ComponentInfo.Variable[] envVars)
Set the Environment Variables
|
void |
setWorkspaceRoot(String workspaceRoot) |
String |
toXmlString()
Return an XML string representing this component.
|
public boolean equals(Object object)
equals in interface ComponentInfoequals in class Objectobject - - the Object to be compared with this one.public List getClassPathElements()
getClassPathElements in interface ComponentInfopublic void addClassPathElement(String element)
public String getComponentClassName()
javax.jbi.component.Component
interface; for Shared Libraries it is null.getComponentClassName in interface ComponentInfopublic void setComponentClassName(String className)
public ComponentType getComponentType()
getComponentType in interface ComponentInfopublic void setComponentType(ComponentType type)
public String getDescription()
getDescription in interface ComponentInfopublic void setDescription(String descr)
public String getInstallRoot()
getInstallRoot in interface ComponentInfopublic void setInstallRoot(String installRoot)
public String getWorkspaceRoot()
getWorkspaceRoot in interface ComponentInfopublic void setWorkspaceRoot(String workspaceRoot)
public String getName()
getName in interface ComponentInfopublic void setName(String name)
public long getTimestamp()
public void setTimestamp(long timestamp)
public long getUpgradeNumber()
public void setUpgradeNumber(int upgradeNumber)
public List getServiceUnitList()
getServiceUnitList in interface ComponentInfopublic void setServiceUnitList(List<ServiceUnitInfo> list)
public void addServiceUnitInfo(ServiceUnitInfo suInfo)
public List getSharedLibraryNames()
getSharedLibraryNames in interface ComponentInfopublic void addSharedLibrary(String sharedLibraryName)
public ComponentState getStatus()
getStatus in interface ComponentInfopublic void setStatus(ComponentState state)
public int hashCode()
hashCode in interface ComponentInfohashCode in class Objectpublic Map getProperties()
getProperties in interface ComponentInfopublic boolean isBootstrapClassLoaderSelfFirst()
isBootstrapClassLoaderSelfFirst in interface ComponentInfopublic void setBootstrapClassLoaderSelfFirst(boolean flag)
public boolean isClassLoaderSelfFirst()
isClassLoaderSelfFirst in interface ComponentInfopublic void setClassLoaderSelfFirst(boolean flag)
public List getBootstrapClassPathElements()
getBootstrapClassPathElements in interface ComponentInfopublic void setBootstrapClassPathElements(List elements)
public String getBootstrapClassName()
getBootstrapClassName in interface ComponentInfopublic void setBootstrapClassName(String name)
public String getInstallationDescriptor()
getInstallationDescriptor in interface ComponentInfopublic void setInstallationDescriptor(String jbiXml)
jbiXml - - the string representation of the installation descriptor
for this Component / Shared Librarypublic String toXmlString()
public ComponentInfo.Variable[] getVariables()
public Properties getConfiguration()
public Properties getApplicationConfiguration(String name)
public String[] getApplicationConfigurationNames()
public void setVariables(ComponentInfo.Variable[] envVars)
envVars - - an array of Variables set on the component.public void setConfiguration(Properties configs)
configs - the components constant configuration.public void setApplicationConfiguration(String name, Properties applicationConfig)
Copyright © 2011-2016 OpenESB Community. All Rights Reserved.