BEA Systems, Inc.

com.beasys.commerce.axiom.advisor.advislets
Class SuccessorHandle

java.lang.Object
  |
  +--com.beasys.commerce.axiom.p13n.agents.SuccessorHandle
        |
        +--com.beasys.commerce.axiom.advisor.advislets.SuccessorHandle

public class SuccessorHandle
extends SuccessorHandle
implements java.io.Serializable

A Serializable holder class for a ConfigurableEntity that represents a runtime successor for a user. Theoretically, this object should be safe to pass to a remote method call. However, that depends on whether or not all of the data in the ConfigurableEntity representing the Successor is Serializable. This class is for the sole purpose of Advislets that need to call the rules service with a successor for a user profile. Note: This class temporarily extends com.beasys.commerce.axiom.p13n.agents.SuccessorHandle for backward compatibility to the WLPS 2.0 release. In a future release this extension will be removed as com.beasys.commerce.axiom.p13n.agents.SuccessorHandle is deprecated.

See Also:
Serialized Form

Constructor Summary
SuccessorHandle(ConfigurableEntity successor)
          Creates a new instance.
 
Method Summary
 ConfigurableEntity getSuccessor()
          Gets the successor for this handle.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SuccessorHandle

public SuccessorHandle(ConfigurableEntity successor)
Creates a new instance.
Parameters:
successor - The successor to be used for a user. This parameter can be null which creates an empty handle.
Method Detail

getSuccessor

public ConfigurableEntity getSuccessor()
Gets the successor for this handle.
Overrides:
getSuccessor in class SuccessorHandle
Returns:
Successor The successor, null if none exists.

BEA Systems, Inc.

Copyright © 2000 BEA Systems, Inc. All Rights Reserved