com.deltax.cpacker
Class ClassPacker.DefaultRmiImplNameProvider
java.lang.Object
|
+--com.deltax.cpacker.ClassPacker.DefaultRmiImplNameProvider
- Enclosing class:
- ClassPacker
- public static class ClassPacker.DefaultRmiImplNameProvider
- extends java.lang.Object
- implements ClassPacker.RmiImplNameProvider
Defines the default conventions for searching implementation classes of Remote
interfaces.
A default rmi implementation-name provider which defines that a
class implementing a Remote interface P1.P2.I will have as possible names:
- <I>Impl in the same package P1.P2 as I
- <I>Server in the same package P1.P2 as I
- <I>in the package P1.P2.server
- <I>in the package P1.P2.impl
- <I>Server in the package P1.P2.server
- <I>Impl in the package P1.P2.server
- <I>Server in the package P1.P2.impl
- <I>Impl in the package P1.P2.impl
- <I>Server in the package P1.server (if exists)
- <I>Impl in the package P1.server (if exists)
- <I>Server in the package P1.impl (if exists)
- <I>Impl in the package P1.impl (if exists)
Method Summary |
java.lang.String[] |
getImplSkelNames(java.lang.String interfaceName)
Given an interface name, an array containing all the possible names for
implementation skeleton (built following some convention defined by the
provider) is returned. |
java.lang.String[] |
getImplStubNames(java.lang.String interfaceName)
Given an interface name, an array containing all the possible names for
implementation stub (built following some convention defined by the
provider) is returned. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
ClassPacker.DefaultRmiImplNameProvider
public ClassPacker.DefaultRmiImplNameProvider()
getImplSkelNames
public java.lang.String[] getImplSkelNames(java.lang.String interfaceName)
- Description copied from interface: ClassPacker.RmiImplNameProvider
- Given an interface name, an array containing all the possible names for
implementation skeleton (built following some convention defined by the
provider) is returned.
- Specified by:
- getImplSkelNames in interface ClassPacker.RmiImplNameProvider
getImplStubNames
public java.lang.String[] getImplStubNames(java.lang.String interfaceName)
- Description copied from interface: ClassPacker.RmiImplNameProvider
- Given an interface name, an array containing all the possible names for
implementation stub (built following some convention defined by the
provider) is returned.
- Specified by:
- getImplStubNames in interface ClassPacker.RmiImplNameProvider