public interface JmsResource
| Modifier and Type | Interface and Description |
|---|---|
static class |
JmsResource.ResourceState |
| Modifier and Type | Method and Description |
|---|---|
JmsResourceId |
getId()
Returns the assigned resource ID for this JmsResource instance.
|
JmsResource.ResourceState |
getState() |
void |
setState(JmsResource.ResourceState state)
Sets or updates the current state of this resource.
|
void |
visit(JmsResourceVistor visitor)
Allows a visitor object to walk the resources and process them.
|
JmsResourceId getId()
void visit(JmsResourceVistor visitor) throws Exception
visitor - The visitor instance that is processing this resource.Exception - if an error occurs while visiting this resource.JmsResource.ResourceState getState()
void setState(JmsResource.ResourceState state)
state - The new state to apply to this resource.Copyright © 2013–2019 The Apache Software Foundation. All rights reserved.