@Test public void testSetMaxSessions() throws Throwable { QServer qServer = new QServer(); qServer.setPersist(new Element("testQServerName", "testQServerUri")); qServer.setMaxSessions(1000); assertEquals(1000, qServer.getMaxSessions(), "qServer.getMaxSessions()"); assertTrue(qServer.isModified(), "qServer.isModified()"); }
@Override public synchronized void setMaxSessions (int maxSessions) { this.maxSessions = maxSessions; setAttr (getAttrs (), "maxSessions", maxSessions); setModified (true); }
QServer extends QBeanSupport implements QServerMBean, SpaceListener, ISORequestListener { @Override public synchronized void setMaxSessions (int maxSessions) { this.maxSessions = maxSessions; setAttr (getAttrs (), "maxSessions", maxSessions); setModified (true); } }
QServer extends QBeanSupport implements QServerMBean, SpaceListener, ISORequestListener { @Override public synchronized void setMaxSessions (int maxSessions) { this.maxSessions = maxSessions; setAttr (getAttrs (), "maxSessions", maxSessions); setModified (true); } QServer(); }
QServer extends QBeanSupport implements QServerMBean, SpaceListener, ISORequestListener { @Override public synchronized void setMaxSessions (int maxSessions) { this.maxSessions = maxSessions; setAttr (getAttrs (), "maxSessions", maxSessions); setModified (true); } QServer(); @Override void initService(); @Override void startService(); @Override void stopService(); @Override void destroyService(); @Override synchronized void setPort(int port); @Override int getPort(); @Override synchronized void setPackager(String packager); @Override String getPackager(); @Override synchronized void setChannel(String channel); @Override String getChannel(); @Override synchronized void setMaxSessions(int maxSessions); @Override int getMaxSessions(); @Override synchronized void setMinSessions(int minSessions); @Override int getMinSessions(); @Override synchronized void setSocketFactory(String sFactory); @Override String getSocketFactory(); @Override String getISOChannelNames(); ISOServer getISOServer(); @Override String getCountersAsString(); @Override String getCountersAsString(String isoChannelName); @Override void notify(Object key, Object value); @Override boolean process(ISOSource source, ISOMsg m); }
QServer extends QBeanSupport implements QServerMBean, SpaceListener, ISORequestListener { @Override public synchronized void setMaxSessions (int maxSessions) { this.maxSessions = maxSessions; setAttr (getAttrs (), "maxSessions", maxSessions); setModified (true); } QServer(); @Override void initService(); @Override void startService(); @Override void stopService(); @Override void destroyService(); @Override synchronized void setPort(int port); @Override int getPort(); @Override synchronized void setPackager(String packager); @Override String getPackager(); @Override synchronized void setChannel(String channel); @Override String getChannel(); @Override synchronized void setMaxSessions(int maxSessions); @Override int getMaxSessions(); @Override synchronized void setMinSessions(int minSessions); @Override int getMinSessions(); @Override synchronized void setSocketFactory(String sFactory); @Override String getSocketFactory(); @Override String getISOChannelNames(); ISOServer getISOServer(); @Override String getCountersAsString(); @Override String getCountersAsString(String isoChannelName); @Override void notify(Object key, Object value); @Override boolean process(ISOSource source, ISOMsg m);  }