|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ServiceConfiguration
A ServiceConfiguration
object provides access to metadata describing the document service.
Field Summary | |
---|---|
static int |
INACTIVE
Inactive state. |
static int |
INSTANCE_PER_REQUEST
Instance per request. |
static int |
POOLED_INSTANCE
Pool instance |
static java.lang.String |
RUN_AS_INVOKER
Run As Configuration setting, which means the service will be run with the invoking context. |
static java.lang.String |
RUN_AS_SYSTEM
Run As Configuration setting, which means the service will be run with the System Context. |
static int |
RUNNING
Running state. |
static int |
SINGLE_INSTANCE
Single instance. |
static int |
STOPPED
Stopped state. |
static int |
UNKNOWN
Unknown state. |
Method Summary | |
---|---|
short |
getAccessLevel()
Retrieves the access level of the document service. |
java.util.Map |
getAttributes()
Retrieves a map of attributes that are interpreted by and specific to the component from which this document service was deployed. |
java.lang.String |
getComponentId()
Retrieves the identifier of the component with which this service is invoked. |
java.lang.String |
getComponentVersion()
Retrieves the version of the component with which this service is interpreted. |
ConfigParameter |
getConfigParameter(java.lang.String aName)
Retrieves the configuration parameter with the specified name. |
ConfigParameter[] |
getConfigParameters()
Retrieves all of the configuration parameters defined for this document service. |
java.util.Date |
getCreateTime()
Retrieves the time when this service configuration was created. |
boolean |
getDeprecated()
Retrieves whether or not this service configuration is deprecated. |
java.lang.String |
getDeprecatedSince()
Retrieves when this service configuration was deprecated. |
java.lang.String |
getDescription()
Retrieves the description of the document service. |
java.lang.String |
getDescriptor()
Retrieves the descriptor from this service configuration, which is used to derive the signature of the service. |
java.lang.String[] |
getEndpointsToCreate()
List of programmatic endpoints to create. |
java.lang.String |
getHint()
Retrieves short text that describes the purpose of the document service and is displayed within related user interfaces. |
byte[] |
getLargeIcon()
Retrieves the large icon representation of the document service. |
java.lang.String |
getLockedByUser()
Retrieves the user who has locked this service configuration. |
short |
getMajorVersion()
Retrieves the major version number of the document service. |
short |
getMinorVersion()
Retrieves the minor version number of the document service. |
Operation |
getOperation(java.lang.String aName)
Retrieves an Operation
by name if it exists for this document service. |
Operation[] |
getOperations()
Retrieves all of the operations defined for this document service. |
boolean |
getOrchestrateable()
Determines whether a service or any of its operations can be used within an orchestration. |
com.adobe.idp.dsc.registry.infomodel.ServicePoolConfiguration |
getPoolConfiguration()
Retrieves pool configuration for the service |
java.lang.String |
getReplacedBy()
Retrieves what this service configuration is replaced by. |
int |
getRequestProcessingStrategy()
Retrieves the chosen request processing strategy used by the service. |
java.lang.String |
getRunAsConfiguration()
Retrieves the run as configuration for the context which to set to run this service with. |
java.lang.String |
getServiceId()
Retrieves the name of the document service, which must be unique within the Service Registry. |
byte[] |
getSmallIcon()
Retrieves the small icon representation of the document service. |
java.lang.String[] |
getSpecificationIds()
Retrieves the specification identifiers implemented by this service configuration. |
boolean |
getStartWithComponent()
Determines whether this service should automatically start after its related component starts. |
int |
getState()
Retrieves the current state of the document service. |
java.lang.String |
getSunsettingOn()
Retrieves information about when this service configuration is expected to be removed. |
java.lang.String[] |
getSupportedConnectorIds()
Retrieves an array of connector identifiers, specifying which connectors can be used to set up endpoints for a service. |
java.lang.String |
getTitle()
Retrieves the title of the document service. |
java.lang.String |
getType()
Retrieves the type of service configuration. |
java.util.Date |
getUpdateTime()
Retrieves the time when this service configuration was last updated. |
boolean |
hasRunAsConfiguration()
Determines whether this service has run as configuration set. |
boolean |
isActive()
Determines whether this service configuration is active. |
boolean |
isAllowDefaultEndpoints()
Flag used in LC9 durring process creation to allow creation of all connectors when selecting default endpoints to create. |
boolean |
isAuditingEnabled()
Determines whether execution auditing is enabled for this operations of this service configuration |
boolean |
isLocked()
Determines whether this service configuration is locked. |
boolean |
isMonitoringEnabled()
Determines whether Business Activity Montioring is requested for this service. |
boolean |
isOrchestration()
Deprecated. This method is deprecated because the document service container is not and should not be knowledgeable of the workflow or how any service is implemented (other than knowing which document service container will execute it). Document service containers and clients wishing to track the type of configuration or implementation should set and query the "type" property of the
service configuration with a value which is meant for client purposes
only and is not used by the service container itself. |
boolean |
isPartOfApplication()
Returns true if the service configuration was deployed as part of an application. |
boolean |
isRunning()
Determines whether this service configuration is running. |
boolean |
isStopped()
Determines whether this service configuration is stopped. |
Field Detail |
---|
static final int UNKNOWN
static final int INACTIVE
static final int STOPPED
static final int RUNNING
static final int SINGLE_INSTANCE
static final int INSTANCE_PER_REQUEST
static final int POOLED_INSTANCE
static final java.lang.String RUN_AS_INVOKER
static final java.lang.String RUN_AS_SYSTEM
Method Detail |
---|
java.lang.String getServiceId()
short getMajorVersion()
short getMinorVersion()
short getAccessLevel()
java.lang.String getDescription()
byte[] getSmallIcon()
byte[] getLargeIcon()
int getState()
java.lang.String getComponentId()
java.lang.String getComponentVersion()
boolean getStartWithComponent()
true
if this service should
automatically start after its related component starts,
false
otherwise.java.util.Map getAttributes()
ConfigParameter getConfigParameter(java.lang.String aName) throws ConfigParameterNotFoundException
aName
- The name of the configuration parameter.
{@link
- com.adobe.idp.dsc.registry.ConfigParameterNotFoundException ConfigParameterNotFoundException}
when a component does not exist.
ConfigParameterNotFoundException
ConfigParameter[] getConfigParameters()
Operation getOperation(java.lang.String aName) throws OperationNotFoundException
Operation
by name if it exists for this document service. Otherwise
an exception is thrown.
aName
- The name of the operation.
{@link
- com.adobe.idp.dsc.registry.OperationNotFoundException OperationNotFoundException}
when an operation with the specified name does not exist for the related service.
OperationNotFoundException
Operation[] getOperations()
java.lang.String getTitle()
java.lang.String getHint()
boolean getOrchestrateable()
true
if a service or any of its operations can be used within an orchestration,
false
otherwise.java.lang.String[] getSupportedConnectorIds()
null
if all are supported, an empty array if none are supported).java.lang.String getDescriptor()
java.lang.String getType()
null
is a valid value.
java.lang.String getLockedByUser()
boolean hasRunAsConfiguration()
true
if this service configuration has run as,
false
otherwise.java.lang.String getRunAsConfiguration()
RUN_AS_INVOKER
: The service will be run with the invoking context.RUN_AS_SYSTEM
: The service will be run with the System Context."USER OID"
: The principle id(named user) to run this service with.
java.util.Date getUpdateTime()
java.util.Date getCreateTime()
boolean isOrchestration()
"type"
property of the
service configuration with a value which is meant for client purposes
only and is not used by the service container itself.
true
if this service configuration is an orchestration,
false
otherwise.boolean isActive()
true
if this service configuration is active,
false
otherwise.boolean isRunning()
true
if this service configuration is running,
false
otherwise.boolean isStopped()
true
if this service configuration is stopped,
false
otherwise.boolean isLocked()
true
if this service configuration is locked,
false
otherwise.java.lang.String[] getSpecificationIds()
boolean isMonitoringEnabled()
true
if Business Activity Montioring is requested for this service,
false
otherwise.int getRequestProcessingStrategy()
SINGLE_INSTANCE
: A single instance will be used to process all service requests or invocations.INSTANCE_PER_REQUEST
(default value): A new instance will be used to process each service request or invocation.com.adobe.idp.dsc.registry.infomodel.ServicePoolConfiguration getPoolConfiguration()
boolean isAuditingEnabled()
true
if auditing is enabled, false
otherwiseboolean getDeprecated()
java.lang.String getDeprecatedSince()
java.lang.String getReplacedBy()
java.lang.String getSunsettingOn()
boolean isAllowDefaultEndpoints()
true
if we want to enable all endpoint connectors, false
otherwisejava.lang.String[] getEndpointsToCreate()
boolean isPartOfApplication()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |