1 45 package org.exolab.jms.net.connector; 46 47 48 54 class PoolEntry { 55 56 59 private ManagedConnection _connection; 60 61 66 private final boolean _accepted; 67 68 71 private boolean _initialised = false; 72 73 74 83 public PoolEntry(ManagedConnection connection, boolean accepted) { 84 _connection = connection; 85 _accepted = accepted; 86 } 87 88 93 public ManagedConnection getManagedConnection() { 94 return _connection; 95 } 96 97 105 public boolean getAccepted() { 106 return _accepted; 107 } 108 109 115 public synchronized boolean isInitialised() { 116 return _initialised; 117 } 118 119 122 public synchronized void setInitialised() { 123 _initialised = true; 124 } 125 126 } 127 | Popular Tags |