com.bea.wlpi.common.plugin
Class VariableTypeInfo
java.lang.Object
|
+--com.bea.wlpi.common.plugin.InfoObject
|
+--com.bea.wlpi.common.plugin.VariableTypeInfo
- All Implemented Interfaces:
- java.lang.Comparable, PluginConstants, java.io.Serializable
- public final class VariableTypeInfo
- extends InfoObject
Provides information about a variable type defined by a plugin.
- Since:
- WebLogic Process Integrator 2.0
- See Also:
PluginVariableRenderer
,
PluginVariablePanel
, Serialized Form
Fields inherited from interface com.bea.wlpi.common.plugin.PluginConstants |
CATEGORY_ID_BEGIN, CATEGORY_ID_EXCEPTION, CATEGORY_ID_INTEGRATION, CATEGORY_ID_MISCELLANEOUS, CATEGORY_ID_NEW, CATEGORY_ID_TASK, CATEGORY_ID_WORKFLOW, DEFINITION_CREATED, DEFINITION_DELETED, DEFINITION_UPDATED, EVENT_NOTIFICATION_ALL, EVENT_NOTIFICATION_NONE, HELP_HTML, HELP_JAVA_HELP, INSTANCE_ABORTED, INSTANCE_COMPLETED, INSTANCE_CREATED, INSTANCE_DELETED, INSTANCE_UPDATED, MODE_AUTOMATIC, MODE_DISABLED, MODE_MANUAL, NOTIFICATION_DEFINITION, NOTIFICATION_INSTANCE, NOTIFICATION_TASK, NOTIFICATION_TEMPLATE, STATUS_DEPLOYED, STATUS_ERROR, STATUS_INITIALIZED, STATUS_LOADED, STATUS_LOADING, STATUS_MISSING, STATUS_UNLOADING, TASK_ASSIGNED, TASK_COMPLETED,
|
Constructor Summary |
VariableTypeInfo(java.lang.String pluginName,
int ID,
java.lang.String name,
java.lang.String description,
int variableType,
java.lang.Class valueClass,
java.lang.String[] classNames)
Create a new VariableTypeInfo object. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
KEY_RENDERER
public static final int KEY_RENDERER
- Key value to retrieve the
PluginVariableRenderer
implementation
class name.
KEY_PANEL
public static final int KEY_PANEL
- Key value to retrieve the
PluginVariablePanel
implementation
class name.
TYPE_OBJECT
public static final int TYPE_OBJECT
- Describes a local Java object (as opposed to a remote object).
TYPE_SESSION
public static final int TYPE_SESSION
- Describes a remote reference to a session EJB.
TYPE_ENTITY
public static final int TYPE_ENTITY
- Describes a remote reference to an entity EJB.
VariableTypeInfo
public VariableTypeInfo(java.lang.String pluginName,
int ID,
java.lang.String name,
java.lang.String description,
int variableType,
java.lang.Class valueClass,
java.lang.String[] classNames)
throws WorkflowException
- Create a new
VariableTypeInfo
object.
- Parameters:
pluginName
- The reverse-DNS name of the plugin supplying this
variable type.ID
- The unique plugin-supplied identifier for this
variable type.name
- The localized name of this variable type.description
- The localized description of this
variable type.variableType
- The type of this plugin-defined variable:
TYPE_OBJECT
, TYPE_SESSION
, TYPE_ENTITY
.valueClass
- The fully qualified Java class of the allowed value
type. The design-time and run-time environments constraint the values
that can be assigned to instances of this variable type, using the
normal rules for Java type-casting.classNames
- A two-element array to identify plugin-supplied
classes related to this object. The array contains one entry for
each of the KEY_*
values listed above. The value for each
entry is the corresponding fully qualified Java class name.
getValueClass
public java.lang.Class getValueClass()
- Return the Java class representing the allowed value type.
- Returns:
- The allowed value class.
getVariableType
public int getVariableType()
- Return the type of this plugin-defined variable:
TYPE_OBJECT
, TYPE_SESSION
, TYPE_ENTITY
.
- Returns:
- The type of this plugin-defined variable.
BEA WebLogic Process Integrator is a trademark of BEA Systems, Inc.
Copyright (c) 2001 BEA Systems, Inc.
All rights reserved.