Carol Revision 430.

SVN check-in message: Common methods go in an abstract class. Easier to extend/maintain/fix

Author: benoif @ Thu Mar 10 12:21:46 2005 UTC

723 lines of changes across 9 files (2 new files and 7 modified files).

Generated based on LSDiff output.

Inferred Rules

1          (50/50)

By this change, six classes inherit many methods from AbsRegistry class.

2          (32/32)

By this change, six classes implement NameService interface.

3          (6/8)

All methods that are included in JacORBCosNaming class and NameService interface are deleted except start and stop methods.

4          (5/6)

All host fields in the classes that implement NameService interface got deleted except LmiRegistry class.

5          (5/6)

All port fields in the classes that implement NameService interface got deleted except LmiRegistry class.

6          (5/6)

All getHost methods in the classes that implement NameService interface got deleted except LmiRegistry class.

7          (5/6)

All getPort methods in the classes that implement NameService interface got deleted except LmiRegistry class.

8          (5/6)    

All setConfigProperties methods in the classes that implement NameService interface got deleted except LmiRegistry class.

9          (5/6)

All setHost methods methods in the classes that implement NameService interface got deleted except LmiRegistry class.

10         (5/6)

All setPort methods in the classes that implement NameService interface got deleted except LmiRegistry class.

11         (3/3)

All configurationProperties fields got deleted.

12         (3/4)    

All DEFAULT_PORT_NUMBER fields are added by this change except JacORBCosNaming class.

Remaining Change Facts

Added Class

AbsRegistry

Added Class

DummyRegistry

Added Method

JRMPRegistry.getRegistry

Deleted Field

IIOPCosNaming.DEFAUL_PORT

Deleted Field

JacORBCosNaming.started

Added Field Access

CmiRegistry's constructor added accesses to ClusterRegistry.DEFAULT_PORT field.

Added Field Access

JacORBCosNaming's constructor added accesses to JacORBCosNaming.DEFAULT_PORT_NUMBER field.

 

Document Name     

Type     

Folder Name     

Status     

NameServiceManager

java

.\src\org\objectweb\carol\jndi\ns

Modified

DummyRegistry

java

.\src\org\objectweb\carol\jndi\ns

New

AbsRegistry

java

.\src\org\objectweb\carol\jndi\ns

New

JRMPRegistry

java

.\src\org\objectweb\carol\jndi\ns

Modified

JeremieRegistry

java

.\src\org\objectweb\carol\jndi\ns

Modified

JacORBCosNaming

java

.\src\org\objectweb\carol\jndi\ns

Modified

IIOPCosNaming

java

.\src\org\objectweb\carol\jndi\ns

Modified

CmiRegistry

java

.\src\org\objectweb\carol\jndi\ns

Modified

NameService

java

.\src\org\objectweb\carol\jndi\ns

Modified

SasHelper

java

.\src\org\objectweb\carol\util\csiv2

Same

SasComponent

java

.\src\org\objectweb\carol\util\csiv2

Same

RMIConfigurationException

java

.\src\org\objectweb\carol\util\configuration

Same

RMIConfiguration

java

.\src\org\objectweb\carol\util\configuration

Same

RemoteShell

java

.\src\org\objectweb\carol\util\bootstrap

Same

RemoteProcessesManager

java

.\src\org\objectweb\carol\util\bootstrap

Same

ProcessException

java

.\src\org\objectweb\carol\util\bootstrap

Same

ProcessesManager

java

.\src\org\objectweb\carol\util\bootstrap

Same

ProcessesDaemon

java

.\src\org\objectweb\carol\util\bootstrap

Same

JVMConfiguration

java

.\src\org\objectweb\carol\util\bootstrap

Same

GSSHelper

java

.\src\org\objectweb\carol\util\csiv2\gss

Same

CarolDefaultValues

java

.\src\org\objectweb\carol\util\configuration

Same

CarolCurrentConfiguration

java

.\src\org\objectweb\carol\util\configuration

Same

CarolConfiguration

java

.\src\org\objectweb\carol\util\configuration

Same

SasStruct

java

.\src\org\objectweb\carol\util\csiv2\struct

Same

WeakList

java

.\src\org\objectweb\carol\cmi

Same

WeakCache

java

.\src\org\objectweb\carol\cmi

Same

UnicastRemoteObject

java

.\src\org\objectweb\carol\cmi

Same

TransportStruct

java

.\src\org\objectweb\carol\util\csiv2\struct

Same

StubLBFilter

java

.\src\org\objectweb\carol\cmi

Same

StubLB

java

.\src\org\objectweb\carol\cmi

Same

StubData

java

.\src\org\objectweb\carol\cmi

Same

SecureRandom

java

.\src\org\objectweb\carol\cmi

Same

RoundRobin

java

.\src\org\objectweb\carol\cmi

Same

Random

java

.\src\org\objectweb\carol\cmi

Same

NoMoreStubException

java

.\src\org\objectweb\carol\cmi

Same

NoLocalStubException

java

.\src\org\objectweb\carol\cmi

Same

NamingContextHostPort

java

.\src\org\objectweb\carol\cmi

Same

NamingContext

java

.\src\org\objectweb\carol\cmi

Same

Naming

java

.\src\org\objectweb\carol\cmi

Same

LowerOrb

java

.\src\org\objectweb\carol\cmi

Same

LocateRegistry

java

.\src\org\objectweb\carol\cmi

Same

InetMask

java

.\src\org\objectweb\carol\cmi

Same

DistributedEquivSystem

java

.\src\org\objectweb\carol\cmi

Same

DistributedEquiv

java

.\src\org\objectweb\carol\cmi

Same

ConfigException

java

.\src\org\objectweb\carol\cmi

Same

Config

java

.\src\org\objectweb\carol\cmi

Same

CmiOutputStream

java

.\src\org\objectweb\carol\cmi

Same

CmiInputStream

java

.\src\org\objectweb\carol\cmi

Same

ClusterStubData

java

.\src\org\objectweb\carol\cmi

Same

ClusterStub

java

.\src\org\objectweb\carol\cmi

Same

ClusterRegistryKiller

java

.\src\org\objectweb\carol\cmi

Same

ClusterRegistryInternal

java

.\src\org\objectweb\carol\cmi

Same

ClusterRegistryImpl_Cluster

java

.\src\org\objectweb\carol\cmi

Same

ClusterRegistryImpl

java

.\src\org\objectweb\carol\cmi

Same

ClusterRegistryClient

java

.\src\org\objectweb\carol\cmi

Same

ClusterRegistry

java

.\src\org\objectweb\carol\cmi

Same

ClusterObject

java

.\src\org\objectweb\carol\cmi

Same

ClusterIdFactory

java

.\src\org\objectweb\carol\cmi

Same

ClusterId

java

.\src\org\objectweb\carol\cmi

Same

ClusterException

java

.\src\org\objectweb\carol\cmi

Same

ClusterConfig

java

.\src\org\objectweb\carol\cmi

Same

CarolJRMPPerformanceHelper

java

.\src\org\objectweb\carol\util\perfs

Same

AsStruct

java

.\src\org\objectweb\carol\util\csiv2\struct

Same

XMLElement

java

.\src\org\objectweb\carol\cmi\compiler

Same

TemplateCompiler

java

.\src\org\objectweb\carol\cmi\compiler

Same

RemoteReference

java

.\src\org\objectweb\carol\cmi\jndi

Same

ReferenceImpl

java

.\src\org\objectweb\carol\cmi\jndi

Same

MethodProto

java

.\src\org\objectweb\carol\cmi\compiler

Same

MethodConf

java

.\src\org\objectweb\carol\cmi\compiler

Same

FlatNameParser

java

.\src\org\objectweb\carol\cmi\jndi

Same

FlatCtx

java

.\src\org\objectweb\carol\cmi\jndi

Same

Conf

java

.\src\org\objectweb\carol\cmi\compiler

Same

CompilerException

java

.\src\org\objectweb\carol\cmi\compiler

Same

Compiler

java

.\src\org\objectweb\carol\cmi\compiler

Same

CmiInitialContextFactory

java

.\src\org\objectweb\carol\cmi\jndi

Same

ClassConf

java

.\src\org\objectweb\carol\cmi\compiler

Same

XMLTree

java

.\src\org\objectweb\carol\cmi\compiler

Same

Utils

java

.\src\org\objectweb\carol\cmi\compiler

Same

RmiUtility

java

.\src\org\objectweb\carol\rmi\exception

Same

RmiMultiUtility

java

.\src\org\objectweb\carol\rmi\util

Same

ProtocolInterceptorInitializer

java

.\src\org\objectweb\carol\rmi\jrmp\interceptor

Same

ProtocolInterceptor

java

.\src\org\objectweb\carol\rmi\jrmp\interceptor

Same

PortNumber

java

.\src\org\objectweb\carol\rmi\util

Same

NamingExceptionHelper

java

.\src\org\objectweb\carol\rmi\exception

Same

MultiPRODelegate

java

.\src\org\objectweb\carol\rmi\multi

Same

LmiPRODelegate

java

.\src\org\objectweb\carol\rmi\multi

Same

JServiceContext

java

.\src\org\objectweb\carol\rmi\jrmp\interceptor

Same

JServerRequestInterceptor

java

.\src\org\objectweb\carol\rmi\jrmp\interceptor

Same

JrmpPRODelegate

java

.\src\org\objectweb\carol\rmi\multi

Same

JRMPInitInfoImpl

java

.\src\org\objectweb\carol\rmi\jrmp\interceptor

Same

JRMPClientRequestInfoImpl

java

.\src\org\objectweb\carol\rmi\jrmp\interceptor

Same

JRequestInfo

java

.\src\org\objectweb\carol\rmi\jrmp\interceptor

Same

JInterceptorStore

java

.\src\org\objectweb\carol\rmi\jrmp\interceptor

Same

JInterceptorHelper

java

.\src\org\objectweb\carol\rmi\jrmp\interceptor

Same

JInitInfo

java

.\src\org\objectweb\carol\rmi\jrmp\interceptor

Same

JInitializer

java

.\src\org\objectweb\carol\rmi\jrmp\interceptor

Same

JeremiePRODelegate

java

.\src\org\objectweb\carol\rmi\multi

Same

JDuplicateName

java

.\src\org\objectweb\carol\rmi\jrmp\interceptor

Same

JContextStore

java

.\src\org\objectweb\carol\rmi\jrmp\interceptor

Same

JClientRequestInterceptor

java

.\src\org\objectweb\carol\rmi\jrmp\interceptor

Same

JClientRequestInfo

java

.\src\org\objectweb\carol\rmi\jrmp\interceptor

Same

JClientInterceptorHelper

java

.\src\org\objectweb\carol\rmi\jrmp\interceptor

Same

JacORBPRODelegate

java

.\src\org\objectweb\carol\rmi\multi

Same

CmiPRODelegate

java

.\src\org\objectweb\carol\rmi\multi

Same

JUnicastThreadFactory

java

.\src\org\objectweb\carol\rmi\jrmp\server

Same

JUnicastServerRefSf

java

.\src\org\objectweb\carol\rmi\jrmp\server

Same

JUnicastServerRef

java

.\src\org\objectweb\carol\rmi\jrmp\server

Same

JUnicastRemoteObject

java

.\src\org\objectweb\carol\rmi\jrmp\server

Same

JUnicastRefSf

java

.\src\org\objectweb\carol\rmi\jrmp\server

Same

JUnicastRef

java

.\src\org\objectweb\carol\rmi\jrmp\server

Same

JServerRequestInfo

java

.\src\org\objectweb\carol\rmi\jrmp\interceptor

Same

JServerInterceptorHelper

java

.\src\org\objectweb\carol\rmi\jrmp\interceptor

Same

JRMPServerRequestInfoImpl

java

.\src\org\objectweb\carol\rmi\jrmp\interceptor

Same

JRemoteServerCall

java

.\src\org\objectweb\carol\rmi\jrmp\server

Same

JRemoteCall

java

.\src\org\objectweb\carol\rmi\jrmp\server

Same

JLocalObjectStore

java

.\src\org\objectweb\carol\rmi\jrmp\server

Same

JeremieCarolHandler

java

.\src\org\objectweb\carol\rmi\jonathan\jeremie

Same

RmiIiopUtility

java

.\src\org\objectweb\carol\rmi\iiop\util

Same

ProtocolInterceptor

java

.\src\org\objectweb\carol\rmi\iiop\interceptor

Same

ProtocolInitializer

java

.\src\org\objectweb\carol\rmi\iiop\interceptor

Same

MultiOrbInitialContextFactory

java

.\src\org\objectweb\carol\jndi\spi

Same

MultiContext

java

.\src\org\objectweb\carol\jndi\spi

Same

JRMPLocalContext

java

.\src\org\objectweb\carol\jndi\spi

Same

JRMPContextWrapperFactory

java

.\src\org\objectweb\carol\jndi\spi

Same

JRMPContext

java

.\src\org\objectweb\carol\jndi\spi

Same

JEREMIEContextWrapperFactory

java

.\src\org\objectweb\carol\jndi\spi

Same

JEREMIEContext

java

.\src\org\objectweb\carol\jndi\spi

Same

JacORBIIOPContextWrapperFactory

java

.\src\org\objectweb\carol\jndi\spi

Same

JacORBIIOPContext

java

.\src\org\objectweb\carol\jndi\spi

Same

IiopUtility

java

.\src\org\objectweb\carol\rmi\iiop\exception

Same

IIOPContextWrapperFactory

java

.\src\org\objectweb\carol\jndi\spi

Same

IIOPContext

java

.\src\org\objectweb\carol\jndi\spi

Same

AbsInitialContextFactory

java

.\src\org\objectweb\carol\jndi\spi

Same

AbsContext

java

.\src\org\objectweb\carol\jndi\spi

Same

RMIFixedPortFirewallSocketFactory

java

.\src\org\objectweb\carol\jndi\registry

Same

RegistryWrapperContext

java

.\src\org\objectweb\carol\jndi\registry

Same

RegistryShell

java

.\src\org\objectweb\carol\jndi\registry

Same

RegistryManagerImpl

java

.\src\org\objectweb\carol\jndi\registry

Same

RegistryManager

java

.\src\org\objectweb\carol\jndi\registry

Same

RegistryFireWall

java

.\src\org\objectweb\carol\jndi\registry

Same

ManageableRegistry

java

.\src\org\objectweb\carol\jndi\registry

Same

JNDIResourceWrapper

java

.\src\org\objectweb\carol\jndi\wrapping

Same

JNDIRemoteResource

java

.\src\org\objectweb\carol\jndi\wrapping

Same

JNDIReferenceWrapper

java

.\src\org\objectweb\carol\jndi\wrapping

Same

LmiNameParser

java

.\src\org\objectweb\carol\jndi\lmi

Same

LmiInitialContextFactory

java

.\src\org\objectweb\carol\jndi\lmi

Same

LmiInitialContext

java

.\src\org\objectweb\carol\jndi\lmi

Same

javaURLContextFactory

java

.\src\org\objectweb\carol\jndi\enc\java

Same

javaURLContext

java

.\src\org\objectweb\carol\jndi\enc\java

Same

javaNameParser

java

.\src\org\objectweb\carol\jndi\enc\java

Same

CompNamingContext

java

.\src\org\objectweb\carol\jndi\enc\java

Same

RemoteJRMPRegistry

java

.\src\org\objectweb\carol\jndi\ns

Same

NameServiceException

java

.\src\org\objectweb\carol\jndi\ns

Same

LmiRegistry

java

.\src\org\objectweb\carol\jndi\ns

Same

FooRemoteInterface

java

.\doc\usermanual\example

Same

FooJNDIServer

java

.\doc\usermanual\example

Same

FooImplicitServer

java

.\doc\usermanual\example

Same

FooImplicit

java

.\doc\usermanual\example

Same

FooExplicitServer

java

.\doc\usermanual\example

Same

FooExplicit

java

.\doc\usermanual\example

Same

Foo

java

.\doc\usermanual\example

Same

Initializer

java

.\test\src\org\objectweb\carol\jtests\conform\interceptor\jrmp

Same

IIOPInitializer

java

.\test\src\org\objectweb\carol\jtests\conform\interceptor\iiop

Same

IIOPDummyServerInterceptor

java

.\test\src\org\objectweb\carol\jtests\conform\interceptor\iiop

Same

IIOPDummyClientInterceptor

java

.\test\src\org\objectweb\carol\jtests\conform\interceptor\iiop

Same

DummyServerServiceContext

java

.\test\src\org\objectweb\carol\jtests\conform\interceptor\jrmp

Same

DummyServerInterceptor

java

.\test\src\org\objectweb\carol\jtests\conform\interceptor\jrmp

Same

DummyClientServiceContext

java

.\test\src\org\objectweb\carol\jtests\conform\interceptor\jrmp

Same

DummyClientInterceptor

java

.\test\src\org\objectweb\carol\jtests\conform\interceptor\jrmp

Same

ProcessStopper

java

.\test\src\org\objectweb\carol\jtests\conform\util

Same

ProcessRunner

java

.\test\src\org\objectweb\carol\jtests\conform\util

Same

MultiProtocolTests

java

.\test\src\org\objectweb\carol\jtests\conform\basic\clients

Same

JunitFormatter

java

.\test\src\org\objectweb\carol\ant

Same

CarolTestTask

java

.\test\src\org\objectweb\carol\ant

Same

CarolProtocol

java

.\test\src\org\objectweb\carol\ant

Same

BasicServer

java

.\test\src\org\objectweb\carol\jtests\conform\basic\server

Same

BasicSerializableObject

java

.\test\src\org\objectweb\carol\jtests\conform\basic\server

Same

BasicRemoteObject

java

.\test\src\org\objectweb\carol\jtests\conform\basic\server

Same

BasicObjectRefFactory

java

.\test\src\org\objectweb\carol\jtests\conform\basic\server

Same

BasicObjectRef

java

.\test\src\org\objectweb\carol\jtests\conform\basic\server

Same

BasicObjectItf

java

.\test\src\org\objectweb\carol\jtests\conform\basic\server

Same

BasicObject

java

.\test\src\org\objectweb\carol\jtests\conform\basic\server

Same

BasicMultiObjectItf

java

.\test\src\org\objectweb\carol\jtests\conform\basic\server

Same

BasicMultiObject

java

.\test\src\org\objectweb\carol\jtests\conform\basic\server

Same