Commit caf1d306 authored by afreyssin's avatar afreyssin
Browse files

Adds getName method.

parent 315e22ed
......@@ -257,6 +257,9 @@ public class ProxyImpl implements java.io.Serializable, ProxyImplMBean {
return "ProxyImpl:" + proxyAgent.getId();
}
public String getName() {
return (proxyAgent == null)?null:proxyAgent.getName();
}
/**
* (Re)initializes the proxy.
......
......@@ -24,6 +24,13 @@ package org.objectweb.joram.mom.proxies;
public interface ProxyImplMBean {
/**
* Returns the name of this queue, or its id if not set.
*
* @return the name of this queue; its id if not set.
*/
String getName();
/**
* Returns the period value of this queue, -1 if not set.
*
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment