public abstract class JmsAbstractResourceId extends Object implements JmsResourceId
Modifier and Type | Field and Description |
---|---|
protected int |
hashCode |
protected Object |
providerContext |
protected Object |
providerHint |
Constructor and Description |
---|
JmsAbstractResourceId() |
Modifier and Type | Method and Description |
---|---|
Object |
getProviderContext()
Return the previously stored Provider context object.
|
Object |
getProviderHint()
Return the previously stored Provider hint object.
|
void |
setProviderContext(Object context)
Allows a Provider to embed a bit of Context for later use.
|
void |
setProviderHint(Object hint)
Allows a Provider to embed a hint in this Id value for later use.
|
protected transient Object providerHint
protected transient Object providerContext
protected transient int hashCode
public void setProviderHint(Object hint)
JmsResourceId
setProviderHint
in interface JmsResourceId
hint
- The value to add into this Id.public Object getProviderHint()
JmsResourceId
getProviderHint
in interface JmsResourceId
public void setProviderContext(Object context)
JmsResourceId
setProviderContext
in interface JmsResourceId
context
- The value to add as context for this Id.public Object getProviderContext()
JmsResourceId
getProviderContext
in interface JmsResourceId
Copyright © 2013–2016 The Apache Software Foundation. All rights reserved.