|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Operation
An Operation
object contains metadata describing a service operation.
Field Summary | |
---|---|
static short |
ACCESS_LEVEL_PRIVATE
Represents private access. |
static short |
ACCESS_LEVEL_PUBLIC
Represents public access. |
static java.lang.String |
TX_PROPAGATION_MANDATORY
Represents a mandatory propagation value. |
static java.lang.String |
TX_PROPAGATION_NEVER
Represents a never propagation value. |
static java.lang.String |
TX_PROPAGATION_NOT_SUPPORTED
Represents an unsupported propagation value. |
static java.lang.String |
TX_PROPAGATION_REQUIRED
Represents a required propagation value. |
static java.lang.String |
TX_PROPAGATION_REQUIRES_NEW
Requires a new propagation value. |
static java.lang.String |
TX_PROPAGATION_SUPPORTS
Represents a support propagation value. |
static java.lang.String |
TX_TYPE_CONTAINER
Represents a container type. |
static java.lang.String |
TX_TYPE_NONE
Represents no type. |
static java.lang.String |
TX_TYPE_SERVICE
Represents a service type. |
Method Summary | |
---|---|
short |
getAccessLevel()
Retrieves the access level of the operation. |
java.util.Map |
getAttributes()
Retrieves a map of operation attributes. |
java.lang.String |
getDescription()
Retrieves the description of the operation. |
Fault[] |
getFaults()
Retrieves an array of faults that make up the signature of this operation. |
java.lang.String |
getHint()
Retrieves text that describes the purpose of the service to which this operation belongs. |
InputParameter |
getInputParameter(java.lang.String aName)
Retrieves the specified input parameter. |
InputParameter[] |
getInputParameters()
Retrieves all input parameters that are expected by this operation. |
byte[] |
getLargeIcon()
Retrieves the large icon representation of the operation. |
Layout |
getLayout()
Retrieves the layout defined for this operation, which is used to determine how the operation's parameters appear during process design. |
boolean |
getLongLived()
Determines whether the operation is a long-lived operation. |
java.lang.String |
getName()
Retrieves the name of the operation, which must be unique to the service. |
OutputParameter |
getOutputParameter(java.lang.String aName)
Retrieves the specified output parameter. |
OutputParameter[] |
getOutputParameters()
Returns all output parameters that are expected by this operation. |
ServiceConfiguration |
getServiceConfiguration()
Retrieves the service configuration to which this operation belongs. |
java.lang.String |
getServiceId()
Retrieves the service identifier to which this operation belongs. |
byte[] |
getSmallIcon()
Retrieves the small icon for this operation. |
java.lang.String[] |
getSupportedConnectorIds()
Retrieves an array of connector identifiers, specifying which connectors can be used to set up endpoints for the service to which this operation belongs. |
java.lang.String |
getTitle()
Retrieves the title of the service to which this operation belongs. |
java.lang.String |
getTransactionPropagation()
Retrieves the transaction propagation value. |
int |
getTransactionTimeout()
Retrieves the number of seconds the container should wait for this operation's transaction to complete. |
java.lang.String |
getTransactionType()
Determines whether this operation is managed by a service or a container. |
boolean |
isAnonymousAccess()
Determines whether an operation is set for anonymous access. |
boolean |
isOrchestrateable()
Determines whether a service or any of its operations can be used within a process created in Workbench ES. |
Field Detail |
---|
static final java.lang.String TX_TYPE_SERVICE
static final java.lang.String TX_TYPE_CONTAINER
static final java.lang.String TX_TYPE_NONE
static final java.lang.String TX_PROPAGATION_REQUIRED
static final java.lang.String TX_PROPAGATION_SUPPORTS
static final java.lang.String TX_PROPAGATION_MANDATORY
static final java.lang.String TX_PROPAGATION_REQUIRES_NEW
static final java.lang.String TX_PROPAGATION_NOT_SUPPORTED
static final java.lang.String TX_PROPAGATION_NEVER
static final short ACCESS_LEVEL_PRIVATE
static final short ACCESS_LEVEL_PUBLIC
Method Detail |
---|
java.lang.String getName()
short getAccessLevel()
java.lang.String getDescription()
boolean getLongLived()
true
if the operation is a long-lived operation.java.util.Map getAttributes()
java.util.Map
object that contains operation attributes.InputParameter getInputParameter(java.lang.String aName) throws InputParameterNotFoundException
aName
- The name of the input parameter.
InputParameter
object that corresponds to the input parameter name.
InputParameterNotFoundException
- If an invalid output parameter name is specified.InputParameter[] getInputParameters()
InputParameter
objects that are expected by this operation.OutputParameter getOutputParameter(java.lang.String aName) throws OutputParameterNotFoundException
aName
- The name of the output parameter.
OutputParameter
object that corresponds to the output parameter name.
OutputParameterNotFoundException
- If an invalid output parameter name is specified.OutputParameter[] getOutputParameters()
OutputParameter
objects that are expected by this operation.java.lang.String getTransactionType()
SMT
: Represents a service managed transaction.CMT
: Represents a container managed transaction.java.lang.String getTransactionPropagation()
Required
Supports
Mandatory
Requires New
Not Supported
Never
int getTransactionTimeout()
0
is returned, the default
transaction timeout configured for the underlying transaction provider is used.
byte[] getSmallIcon()
byte[] getLargeIcon()
java.lang.String getTitle()
java.lang.String getHint()
boolean isOrchestrateable()
true
if the service or any of its operations can be used within a process.boolean isAnonymousAccess()
true
if this operation is set for anonymous access.java.lang.String[] getSupportedConnectorIds()
Layout getLayout()
Layout
object that specifies the layout defined for this operation.Fault[] getFaults()
Fault
objects that make up the signature of this operation.ServiceConfiguration getServiceConfiguration()
ServiceConfiguration
object that represents the service configuration to which this operation belongs.java.lang.String getServiceId()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |