Package org.apache.qpid.jms.meta
Class JmsAbstractResource
java.lang.Object
org.apache.qpid.jms.meta.JmsAbstractResource
- All Implemented Interfaces:
JmsResource
- Direct Known Subclasses:
JmsConnectionInfo,JmsConsumerInfo,JmsProducerInfo,JmsSessionInfo,JmsTransactionInfo
Abstract resource class for JmsResource instances.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.qpid.jms.meta.JmsResource
JmsResource.ResourceState -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.qpid.jms.meta.JmsResource
getId, visit
-
Constructor Details
-
JmsAbstractResource
public JmsAbstractResource()
-
-
Method Details
-
getState
- Specified by:
getStatein interfaceJmsResource- Returns:
- the current state of this resource.
-
setState
Description copied from interface:JmsResourceSets or updates the current state of this resource.- Specified by:
setStatein interfaceJmsResource- Parameters:
state- The new state to apply to this resource.
-
isClosed
public boolean isClosed()
-