com.adobe.idp.dsc.registry.infomodel
Interface Component

All Superinterfaces:
java.io.Serializable

public interface Component
extends java.io.Serializable

This interface provides support for managing components.


Field Summary
static java.lang.String COMPONENT_ID
          DSC component identifier.
static java.lang.String COMPONENT_VERSION
          DSC component version.
static java.lang.String PARENT_FIRST
          First parent.
static java.lang.String PARENT_LAST
          Last parent.
static int PAUSED
          Paused state.
static int RUNNING
          Running state.
static int STOPPED
          Stopped state.
static int UNKNOWN
          Unknown state.
 
Method Summary
 long getArchiveId()
          Retrieves the archive identifier.
 java.lang.String getBootstrapClass()
          Retrieves the bootstrap class.
 java.lang.String getClassPath()
          Retrieves the class path.
 org.w3c.dom.Document getComponentDescriptor()
          Retrieves the component descriptor.
 java.lang.String getComponentId()
          Retrieves the component identifier.
 java.util.Date getCreateTime()
          Retrieves the creation time.
 DataType[] getDataTypes()
          Retrieves the data types.
 java.lang.String getDescriptor()
          Retrieves the component descriptor.
 java.lang.String getDescriptorClass()
          Retrieves the descriptor class.
 java.lang.Object[][] getDynamicImports()
          Retrieves all the dynamic imports.
 java.lang.Object[][] getExports()
          Retrieves all the exports.
 java.lang.Object[][] getImports()
          Retrieves all the imports.
 java.lang.String getInvokerClass()
          Retrieves the invoker class.
 java.lang.String getLifeCycleClass()
          Retrieves the LifeCycle class.
 java.lang.String getLoadClass()
          Retrieves the load class.
 PropertyEditorComponent[] getPropertyEditors()
          Deprecated.  
 java.lang.String getSearchOrder()
          Retrieves the search order.
 java.lang.String getServiceDeployerClass()
          Retrieves the service deployer class.
 org.w3c.dom.Element getServiceDescriptor(java.lang.String aServiceName)
          Retrieves the service descriptor.
 org.w3c.dom.Element[] getServiceDescriptors()
          Retrieves all the service descriptors.
 java.lang.String getServiceFactoryAccessorMethod()
          Retrieves the service factory accessor method which is used to retrieve an instance of the service factory
 java.lang.String getServiceFactoryClass()
          Retrieves the factory class name which will be used to create instances of the service
 java.lang.String getServiceLifeCycleClass()
          Retrieves the service LifeCycle class.
 int getState()
          Retrieves the component state.
 boolean getSupportsExport()
          Determines whether export is supported.
 java.util.Date getUpdateTime()
          Retrieves the last time the component was updated.
 java.lang.String getVersion()
          Retrieves the component version.
 void setState(int aState)
          Sets the component state.
 

Field Detail

UNKNOWN

static final int UNKNOWN
Unknown state.

See Also:
Constant Field Values

STOPPED

static final int STOPPED
Stopped state.

See Also:
Constant Field Values

RUNNING

static final int RUNNING
Running state.

See Also:
Constant Field Values

PAUSED

static final int PAUSED
Paused state.

See Also:
Constant Field Values

PARENT_FIRST

static final java.lang.String PARENT_FIRST
First parent.

See Also:
Constant Field Values

PARENT_LAST

static final java.lang.String PARENT_LAST
Last parent.

See Also:
Constant Field Values

COMPONENT_ID

static final java.lang.String COMPONENT_ID
DSC component identifier.

See Also:
Constant Field Values

COMPONENT_VERSION

static final java.lang.String COMPONENT_VERSION
DSC component version.

See Also:
Constant Field Values
Method Detail

getComponentId

java.lang.String getComponentId()
Retrieves the component identifier.

Returns:
The component identifier.

getVersion

java.lang.String getVersion()
Retrieves the component version.

Returns:
The component version.

getBootstrapClass

java.lang.String getBootstrapClass()
Retrieves the bootstrap class.

Returns:
The bootstrap class.

getLifeCycleClass

java.lang.String getLifeCycleClass()
Retrieves the LifeCycle class.

Returns:
The LifeCycle class.

getLoadClass

java.lang.String getLoadClass()
Retrieves the load class.

Returns:
The load class.

getServiceDeployerClass

java.lang.String getServiceDeployerClass()
Retrieves the service deployer class.

Returns:
The service deployer class.

getServiceLifeCycleClass

java.lang.String getServiceLifeCycleClass()
Retrieves the service LifeCycle class.

Returns:
The service LifeCycle class.

getDescriptorClass

java.lang.String getDescriptorClass()
Retrieves the descriptor class.

Returns:
The descriptor class.

getInvokerClass

java.lang.String getInvokerClass()
Retrieves the invoker class.

Returns:
The invoker class.

getClassPath

java.lang.String getClassPath()
Retrieves the class path.

Returns:
The class path.

getDescriptor

java.lang.String getDescriptor()
Retrieves the component descriptor.

Returns:
A java.lang.String containing the component descriptor.

getComponentDescriptor

org.w3c.dom.Document getComponentDescriptor()
Retrieves the component descriptor.

Returns:
An org.w3c.dom.Document containing the component descriptor.

getServiceDescriptor

org.w3c.dom.Element getServiceDescriptor(java.lang.String aServiceName)
Retrieves the service descriptor.

Returns:
An org.w3c.dom.Element containing the service descriptor.

getServiceDescriptors

org.w3c.dom.Element[] getServiceDescriptors()
Retrieves all the service descriptors.

Returns:
An array of org.w3c.dom.Element objects containing the service descriptors.

getState

int getState()
Retrieves the component state.

Returns:
The component state.

setState

void setState(int aState)
Sets the component state.

Parameters:
aState - The component state.

getImports

java.lang.Object[][] getImports()
Retrieves all the imports.

Returns:
All the imports.

getDynamicImports

java.lang.Object[][] getDynamicImports()
Retrieves all the dynamic imports.

Returns:
All the dynamic imports.

getExports

java.lang.Object[][] getExports()
Retrieves all the exports.

Returns:
All the exports.

getSearchOrder

java.lang.String getSearchOrder()
Retrieves the search order.

Returns:
The search order.

getArchiveId

long getArchiveId()
Retrieves the archive identifier.

Returns:
The archive identifier.

getSupportsExport

boolean getSupportsExport()
Determines whether export is supported.

Returns:
true if export is supported, false otherwise.

getPropertyEditors

PropertyEditorComponent[] getPropertyEditors()
Deprecated. 

Retrieves the property editors.

Returns:
The property editors.

getDataTypes

DataType[] getDataTypes()
Retrieves the data types.

Returns:
The data types.

getUpdateTime

java.util.Date getUpdateTime()
Retrieves the last time the component was updated.

Returns:
The last time the component was updated.

getCreateTime

java.util.Date getCreateTime()
Retrieves the creation time.

Returns:
The creation time.

getServiceFactoryClass

java.lang.String getServiceFactoryClass()
Retrieves the factory class name which will be used to create instances of the service

Returns:
The fully-qualified factory class name

getServiceFactoryAccessorMethod

java.lang.String getServiceFactoryAccessorMethod()
Retrieves the service factory accessor method which is used to retrieve an instance of the service factory

Returns:
String the method name