java.lang.Objectcom.microfocus.cobol.connector.cci.CobolInteractionSpec
This implementation class holds properties for driving an Interaction with an EIS instance. This class is a Java Bean, hence it supports bound properties.
Field Summary | |
protected int |
argumentCount
|
protected Vector |
arguments
|
protected int |
authenticationMechanism
|
static int |
CALLER_PRINCIPAL
|
protected Principal |
callerPrincipal
|
protected PropertyChangeSupport |
changes
|
protected int |
executionTimeout
|
protected String |
functionName
|
protected int |
interactionVerb
|
protected String |
password
|
protected String |
realm
|
protected int |
returnCode
|
static int |
UNINITIALIZED
|
protected Vector |
usages
|
static int |
USE_USERPWD
|
protected String |
userName
|
Constructor Summary | |
CobolInteractionSpec()
Create a new CobolInteractionSpec instance. |
Method Summary | |
void |
addPropertyChangeListener(PropertyChangeListener l)
add a property change listener. |
Object |
getArgument(int index)
get an argument. |
int |
getArgumentCount()
Get argument count. |
int |
getAuthenticationMechanism()
get authentication mechanism |
Principal |
getCallerPrincipal()
|
int |
getExecutionTimeout()
Get Execution timeout |
String |
getFunctionName()
Get the function name to be executed. |
int |
getInteractionVerb()
Get the interaction verb |
CobolInteractionSpecMetaData |
getMetaData()
Get CobolInteractionSpecMetaData |
String |
getPassword()
Get password |
String |
getRealm()
Get realm |
int |
getReturnCode()
get return code. |
int |
getUsage(int index)
get a usage. |
String |
getUserName()
Get user name. |
void |
removePropertyChangeListener(PropertyChangeListener l)
remove a property change listener. |
void |
setArgument(int index,
int usage)
set an argument to be held in an interaction spec. |
void |
setArgument(int index,
Object obj)
set an argument to be held in an interaction spec. |
void |
setArgument(int index,
Object obj,
int usage)
set an argument to be held in an interaction spec. |
void |
setArgumentCount(int argumentCount)
set argument count. |
void |
setAuthenticationMechanism(int am)
set authentication mechanism |
void |
setCallerPrincipal(Principal principal)
Set Caller Principal |
void |
setFunctionName(String functionName)
set the function name to be executed. |
void |
setPassword(String password)
set password |
void |
setRealm(String realm)
set Realm |
void |
setReturnCode(int returnCode)
set return code. |
void |
setUserName(String userName)
set user name |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected String functionName
protected int interactionVerb
protected int executionTimeout
protected int returnCode
protected int argumentCount
protected Vector arguments
protected Vector usages
protected String userName
protected String password
protected String realm
protected int authenticationMechanism
protected PropertyChangeSupport changes
protected Principal callerPrincipal
public static final int USE_USERPWD
public static final int UNINITIALIZED
public static final int CALLER_PRINCIPAL
Constructor Detail |
public CobolInteractionSpec()
Method Detail |
public String getFunctionName()
public void setFunctionName(String functionName)
functionName
- The function namepublic int getInteractionVerb()
public int getExecutionTimeout()
public void setReturnCode(int returnCode)
returnCode
- The return code from Cobol Server.public int getReturnCode()
public void setArgument(int index, Object obj)
index
- The argument index.obj
- The actual object.public void setArgument(int index, Object obj, int usage)
index
- The argument index.obj
- The actual object.usage
- The usage for the argument.public void setArgument(int index, int usage)
index
- The argument index.usage
- The usage for the argument.public Object getArgument(int index)
index
- The argument index
public int getUsage(int index)
index
- The argument index
public int getArgumentCount()
public void setArgumentCount(int argumentCount)
argumentCount
- The argument count.public void setUserName(String userName)
userName
- The user namepublic void setPassword(String password)
password
- - The password.public void setRealm(String realm)
realm
- The realm.public String getUserName()
public String getPassword()
public String getRealm()
public int getAuthenticationMechanism()
public void setAuthenticationMechanism(int am)
am
- The authentication mechanism.
UNINITIALIZED
USE_USERPWD
CALLER_PRINCIPALpublic void addPropertyChangeListener(PropertyChangeListener l)
l
- - the listener instance.public void removePropertyChangeListener(PropertyChangeListener l)
l
- - listener instance.public CobolInteractionSpecMetaData getMetaData()
public void setCallerPrincipal(Principal principal)
public Principal getCallerPrincipal()
Copyright © 2000 Micro Focus International Limited. All rights reserved.
This document and the proprietary marks and names used herein are protected by international law.