javax.resource.spi.work
Class HintsContext

java.lang.Object
  extended by javax.resource.spi.work.HintsContext
All Implemented Interfaces:
Serializable, WorkContext

public class HintsContext
extends Object
implements WorkContext

Since:
1.6
Version:
$Rev: 920245 $ $Date: 2010-03-08 10:25:34 +0100 (Mo, 08. Mär 2010) $
See Also:
Serialized Form

Field Summary
protected  String description
           
static String LONGRUNNING_HINT
           
protected  String name
           
static String NAME_HINT
           
 
Constructor Summary
HintsContext()
           
 
Method Summary
 String getDescription()
          Human readable description of the inflow context
 Map<String,Serializable> getHints()
           
 String getName()
          Human readable name of the inflow context
 void setDescription(String description)
           
 void setHint(String name, Serializable hint)
           
 void setName(String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LONGRUNNING_HINT

public static final String LONGRUNNING_HINT
See Also:
Constant Field Values

NAME_HINT

public static final String NAME_HINT
See Also:
Constant Field Values

description

protected String description

name

protected String name
Constructor Detail

HintsContext

public HintsContext()
Method Detail

getDescription

public String getDescription()
Description copied from interface: WorkContext
Human readable description of the inflow context

Specified by:
getDescription in interface WorkContext
Returns:
human-readable description of the inflow context

setDescription

public void setDescription(String description)

getName

public String getName()
Description copied from interface: WorkContext
Human readable name of the inflow context

Specified by:
getName in interface WorkContext
Returns:
human readable name of the inflow context

setName

public void setName(String name)

getHints

public Map<String,Serializable> getHints()

setHint

public void setHint(String name,
                    Serializable hint)


Copyright © 2003-2012 The Apache Software Foundation. All Rights Reserved.