Package | Description |
---|---|
agilermi.core |
Provides the Agile RMI core system.
|
Modifier and Type | Method and Description |
---|---|
RMIRegistry.Builder |
RMIRegistry.Builder.addCodebase(java.lang.String url)
Utility method to add a codebase at building time.
|
RMIRegistry.Builder |
RMIRegistry.Builder.addCodebase(java.net.URL url)
Utility method to add a codebase at building time.
|
RMIRegistry.Builder |
RMIRegistry.Builder.addCodebases(java.lang.Iterable<java.net.URL> urls)
Utility method to add code-bases at building time.
|
RMIRegistry.Builder |
RMIRegistry.Builder.addCodebases(java.lang.String... urls)
Utility method to add code-bases at building time.
|
RMIRegistry.Builder |
RMIRegistry.Builder.addCodebases(java.net.URL... urls)
Utility method to add code-bases at building time.
|
static RMIRegistry.Builder |
RMIRegistry.builder()
Creates a new
RMIRegistry.Builder instance, used to configure and
start a new RMIRegistry instance. |
RMIRegistry.Builder |
RMIRegistry.Builder.clearCodebasesSet()
Remove all the codebases added to this builder.
|
RMIRegistry.Builder |
RMIRegistry.Builder.replaceRemoteException(java.lang.Class<java.lang.Exception> exceptionClass)
Let the stubs to throw the specified exception alternatively to
RemoteException on communication errors. |
RMIRegistry.Builder |
RMIRegistry.Builder.setAuthenticator(RMIAuthenticator rmiAuthenticator)
Set an
RMIAuthenticator object that intercept authentication and
authorization requests from remote machines. |
RMIRegistry.Builder |
RMIRegistry.Builder.setAutomaticReferencingEnabled(boolean automaticReferencingEnabled)
Enables or disables the automatic referencing which is the mechanism that
replace all the remote objects with its stubs when they are transmitted over
RMI streams.
|
RMIRegistry.Builder |
RMIRegistry.Builder.setClassLoaderFactory(ClassLoaderFactory classLoaderFactory)
Sets the class loader factory used by this registry to decode remote classes
when code mobility is enabled.
|
RMIRegistry.Builder |
RMIRegistry.Builder.setCodeDownloadingEnabled(boolean codeDownloadingEnabled)
Enable dynamic code downloading.
|
RMIRegistry.Builder |
RMIRegistry.Builder.setHandlerFaultMaxLife(long handlerFaultMaxLife)
Sets the maximum life of each
handler . |
RMIRegistry.Builder |
RMIRegistry.Builder.setLatencyTime(int latencyTime)
Sets an estimate of the TCP connection latency time.
|
RMIRegistry.Builder |
RMIRegistry.Builder.setLeaseTime(int leaseTime)
Sets the lease timeout after that the distributed garbage collection
mechanism will remove a non-named object from the registry.
|
RMIRegistry.Builder |
RMIRegistry.Builder.setMultiConnectionMode(boolean multiConnectionMode)
Enables or disables multi-connection mode.
|
RMIRegistry.Builder |
RMIRegistry.Builder.setProtocolEndpointFactory(ProtocolEndpointFactory protocolEndpointFactory)
Sets the
ProtocolEndpointFactory instance to use in the registry to
build. |
RMIRegistry.Builder |
RMIRegistry.Builder.setSkeletonInvocationCacheSize(int skeletonInvocationCacheSize)
Sets the cache size of invocations results for each skeleton.
|
RMIRegistry.Builder |
RMIRegistry.Builder.setSocketFactories(javax.net.SocketFactory socketFactory,
javax.net.ServerSocketFactory serverSocketFactory)
Sets the socket factories that the registry will use.
|
RMIRegistry.Builder |
RMIRegistry.Builder.setStateConsistencyOnFaultEnabled(boolean stateConsistencyOnFaultEnabled)
When enabled, this flag ensures that, after a connection fault, a stub will
be reconnected with the same remote object instance that existed before the
fault.
|
RMIRegistry.Builder |
RMIRegistry.Builder.suppressAllInvocationFaults(boolean suppressAllInvocationFaults)
Enables or disables the suppression of all remote invocation faults.
|