Cache outbound connections with reference counting.
authorJoe Chacko <chackoj@uk.ibm.com>
Thu, 10 Sep 2015 13:18:51 +0000 (14:18 +0100)
committerJoe Chacko <chackoj@uk.ibm.com>
Wed, 28 Oct 2015 19:48:07 +0000 (19:48 +0000)
commitf580371d0268da98d776f118aa86c0d68b780a89
treefedb69fbcd5205f826b8885871017ee29663b843
parenteab4a8ddf214e7e8b0b1ff9eaff713c0a2a4a38a
Cache outbound connections with reference counting.
90 files changed:
pom.xml
yoko-core/pom.xml
yoko-core/src/main/java/org/apache/yoko/orb/CORBA/Delegate.java
yoko-core/src/main/java/org/apache/yoko/orb/CORBA/ObjectImpl.java
yoko-core/src/main/java/org/apache/yoko/orb/OB/Client.java
yoko-core/src/main/java/org/apache/yoko/orb/OB/ClientManager.java
yoko-core/src/main/java/org/apache/yoko/orb/OB/CollocatedClient.java
yoko-core/src/main/java/org/apache/yoko/orb/OB/DispatchRequest_impl.java
yoko-core/src/main/java/org/apache/yoko/orb/OB/DowncallStub.java
yoko-core/src/main/java/org/apache/yoko/orb/OB/GIOPClient.java
yoko-core/src/main/java/org/apache/yoko/orb/OB/GIOPConnection.java
yoko-core/src/main/java/org/apache/yoko/orb/OB/GIOPIncomingMessage.java
yoko-core/src/main/java/org/apache/yoko/orb/OB/GIOPServerStarter.java
yoko-core/src/main/java/org/apache/yoko/orb/OB/GIOPServerStarterThreaded.java
yoko-core/src/main/java/org/apache/yoko/orb/OB/ORBInstance.java
yoko-core/src/main/java/org/apache/yoko/orb/OB/PluginManager.java
yoko-core/src/main/java/org/apache/yoko/orb/OB/Util.java
yoko-core/src/main/java/org/apache/yoko/orb/OB/ValueWriter.java
yoko-core/src/main/java/org/apache/yoko/orb/OBCORBA/ORB_impl.java
yoko-core/src/main/java/org/apache/yoko/orb/OBMessaging/ExceptionHolder_impl.java
yoko-core/src/main/java/org/apache/yoko/orb/OBMessaging/UserExceptionRaiseProxy.java
yoko-core/src/main/java/org/apache/yoko/orb/OCI/AcceptorInfoOperations.java
yoko-core/src/main/java/org/apache/yoko/orb/OCI/Buffer.java
yoko-core/src/main/java/org/apache/yoko/orb/OCI/ConnectorInfoOperations.java
yoko-core/src/main/java/org/apache/yoko/orb/OCI/CurrentOperations.java
yoko-core/src/main/java/org/apache/yoko/orb/OCI/Current_impl.java
yoko-core/src/main/java/org/apache/yoko/orb/OCI/IIOP/AcceptorInfo_impl.java
yoko-core/src/main/java/org/apache/yoko/orb/OCI/IIOP/Acceptor_impl.java
yoko-core/src/main/java/org/apache/yoko/orb/OCI/IIOP/ConnectorInfoOperations.java
yoko-core/src/main/java/org/apache/yoko/orb/OCI/IIOP/ConnectorInfo_impl.java
yoko-core/src/main/java/org/apache/yoko/orb/OCI/IIOP/Connector_impl.java
yoko-core/src/main/java/org/apache/yoko/orb/OCI/IIOP/Exceptions.java [new file with mode: 0644]
yoko-core/src/main/java/org/apache/yoko/orb/OCI/IIOP/TransportInfo_impl.java
yoko-core/src/main/java/org/apache/yoko/orb/OCI/IIOP/Transport_impl.java
yoko-core/src/main/java/org/apache/yoko/orb/OCI/TransportInfoOperations.java
yoko-core/src/main/java/org/apache/yoko/orb/OCI/iiop.java
yoko-core/src/main/java/org/apache/yoko/orb/activator/Activator.java
yoko-core/src/main/java/org/apache/yoko/orb/csi/SecurityContext.java
yoko-core/src/test/java/org/apache/yoko/ConnectionCachingTest.java [new file with mode: 0644]
yoko-core/src/test/java/org/apache/yoko/ConnectionCleanupTest.java [new file with mode: 0644]
yoko-core/src/test/java/org/apache/yoko/processmanager/internal/ProcessAgentImpl.java
yoko-core/src/test/java/test/iiopplugin/ClientPlugin.java
yoko-core/src/test/java/test/iiopplugin/ServerPlugin.java
yoko-core/src/test/java/test/iiopplugin/ServiceContextInterceptor.java
yoko-core/src/test/java/test/ins/Server.java
yoko-core/src/test/java/test/util/MultiException.java [new file with mode: 0644]
yoko-core/src/test/java/test/util/Skellington.java [new file with mode: 0644]
yoko-osgi/pom.xml [new file with mode: 0644]
yoko-osgi/src/main/java/org/apache/yoko/osgi/ProviderLocator.java [moved from yoko-util/src/main/java/org/apache/yoko/util/osgi/ProviderLocator.java with 99% similarity]
yoko-osgi/src/main/java/org/apache/yoko/osgi/ProviderRegistry.java [moved from yoko-util/src/main/java/org/apache/yoko/util/osgi/ProviderRegistry.java with 99% similarity]
yoko-osgi/src/main/java/org/apache/yoko/osgi/locator/BundleProviderLoader.java [moved from yoko-util/src/main/java/org/apache/yoko/util/osgi/locator/BundleProviderLoader.java with 98% similarity]
yoko-osgi/src/main/java/org/apache/yoko/osgi/locator/ProviderBean.java [moved from yoko-util/src/main/java/org/apache/yoko/util/osgi/locator/ProviderBean.java with 97% similarity]
yoko-osgi/src/main/java/org/apache/yoko/osgi/locator/ProviderRegistryImpl.java [moved from yoko-util/src/main/java/org/apache/yoko/util/osgi/locator/ProviderRegistryImpl.java with 98% similarity]
yoko-osgi/src/main/java/org/apache/yoko/osgi/locator/Register.java [moved from yoko-util/src/main/java/org/apache/yoko/util/osgi/locator/Register.java with 96% similarity]
yoko-osgi/src/main/java/org/apache/yoko/osgi/locator/ServiceBean.java [moved from yoko-util/src/main/java/org/apache/yoko/util/osgi/locator/ServiceBean.java with 97% similarity]
yoko-osgi/src/main/java/org/apache/yoko/osgi/locator/activator/AbstractBundleActivator.java [moved from yoko-util/src/main/java/org/apache/yoko/util/osgi/locator/activator/AbstractBundleActivator.java with 94% similarity]
yoko-rmi-impl/pom.xml
yoko-rmi-impl/src/main/java/org/apache/yoko/rmi/api/PortableRemoteObjectExt.java
yoko-rmi-impl/src/main/java/org/apache/yoko/rmi/impl/UtilImpl.java
yoko-rmi-impl/src/main/java/org/apache/yoko/rmi/osgi/activator/Activator.java
yoko-rmi-spec/pom.xml
yoko-rmi-spec/src/main/java/org/apache/yoko/rmispec/util/UtilLoader.java
yoko-spec-corba/pom.xml
yoko-spec-corba/src/main/java/org/omg/CORBA/ORB.java
yoko-spec-corba/src/main/java/org/omg/IIOP/ListenPoint.java
yoko-spec-corba/src/main/java/org/omg/IIOP/ListenPointHelper.java
yoko-util/pom.xml
yoko-util/src/main/java/org/apache/yoko/util/Cache.java [new file with mode: 0644]
yoko-util/src/main/java/org/apache/yoko/util/Factory.java [new file with mode: 0644]
yoko-util/src/main/java/org/apache/yoko/util/Fifa.java [new file with mode: 0644]
yoko-util/src/main/java/org/apache/yoko/util/Fifo.java [new file with mode: 0644]
yoko-util/src/main/java/org/apache/yoko/util/KeyedFactory.java [new file with mode: 0644]
yoko-util/src/main/java/org/apache/yoko/util/Reference.java [new file with mode: 0644]
yoko-util/src/main/java/org/apache/yoko/util/Sequential.java [new file with mode: 0644]
yoko-util/src/main/java/org/apache/yoko/util/concurrent/ConcurrentFifo.java [new file with mode: 0644]
yoko-util/src/main/java/org/apache/yoko/util/concurrent/CountedEntry.java [new file with mode: 0644]
yoko-util/src/main/java/org/apache/yoko/util/concurrent/Foot.java [new file with mode: 0644]
yoko-util/src/main/java/org/apache/yoko/util/concurrent/Head.java [new file with mode: 0644]
yoko-util/src/main/java/org/apache/yoko/util/concurrent/NNode.java [new file with mode: 0644]
yoko-util/src/main/java/org/apache/yoko/util/concurrent/NoOpRunnableFactory.java [new file with mode: 0644]
yoko-util/src/main/java/org/apache/yoko/util/concurrent/PNode.java [new file with mode: 0644]
yoko-util/src/main/java/org/apache/yoko/util/concurrent/ReferenceCountedCache.java [new file with mode: 0644]
yoko-util/src/main/java/org/apache/yoko/util/concurrent/StrongNode.java [new file with mode: 0644]
yoko-util/src/main/java/org/apache/yoko/util/concurrent/VNode.java [new file with mode: 0644]
yoko-util/src/main/java/org/apache/yoko/util/concurrent/WeakConcurrentFifo.java [new file with mode: 0644]
yoko-util/src/main/java/org/apache/yoko/util/concurrent/WeakCountedCache.java [new file with mode: 0644]
yoko-util/src/main/java/org/apache/yoko/util/concurrent/WeakNode.java [new file with mode: 0644]
yoko-util/src/test/java/org/apache/yoko/util/concurrent/ConcurrentFifoTest.java [new file with mode: 0644]
yoko-util/src/test/java/org/apache/yoko/util/concurrent/ReferenceCountedCacheTest.java [new file with mode: 0644]
yoko-util/src/test/java/org/apache/yoko/util/concurrent/WeakConcurrentFifoTest.java [new file with mode: 0644]