org.jppf.jca.cci
Class JPPFInteractionSpec

java.lang.Object
  extended by org.jppf.jca.cci.JPPFInteractionSpec
All Implemented Interfaces:
Serializable, InteractionSpec

public class JPPFInteractionSpec
extends Object
implements InteractionSpec

Implementation of the InteractionSpec interface.

Author:
Laurent Cohen
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface javax.resource.cci.InteractionSpec
SYNC_RECEIVE, SYNC_SEND, SYNC_SEND_RECEIVE
 
Constructor Summary
JPPFInteractionSpec(String functionName)
          Initialize this interaction spec with the specified function.
 
Method Summary
 void addPropertyChangeListener(PropertyChangeListener listener)
          Add a property change listener.
 String getFunctionName()
          Get the name of the function associated with this interaction spec.
 void removePropertyChangeListener(PropertyChangeListener listener)
          Remove a property change listener.
 void setFunctionName(String newFunctionName)
          Set the name of the function associated with this interaction spec.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JPPFInteractionSpec

public JPPFInteractionSpec(String functionName)
Initialize this interaction spec with the specified function.

Parameters:
functionName - the name of the function.
Method Detail

addPropertyChangeListener

public void addPropertyChangeListener(PropertyChangeListener listener)
Add a property change listener.

Parameters:
listener - the lsitener to add.

removePropertyChangeListener

public void removePropertyChangeListener(PropertyChangeListener listener)
Remove a property change listener.

Parameters:
listener - the lsitener to add.

getFunctionName

public String getFunctionName()
Get the name of the function associated with this interaction spec.

Returns:
the function name as a string.

setFunctionName

public void setFunctionName(String newFunctionName)
Set the name of the function associated with this interaction spec.

Parameters:
newFunctionName - the function name as a string.


Copyright © 2005-2010 JPPF Team.