Main Content

com.mathworks.toolbox.javabuilder.remoting.BasicRemoteFactory Class

Namespace: com.mathworks.toolbox.javabuilder.remoting

Java class to implement RemoteFactory interface

Description

Declaration

public class BasicRemoteFactory extends java.lang.Object implements RemoteFactory

Implementation of RemoteFactory interface

Implemented Interfaces: RemoteFactory, java.rmi.Remote

Creation

Constructors

BasicRemoteFactory(java.lang.Class<? extends Disposable> localImpl, 
java.lang.Class<? extends java.rmi.Remote> remoteInterface, boolean marshalOutputs)

Creates a new BasicRemoteFactory that produces remote proxy objects with the given interface and implementation.

Parameters:

localImpl

Class to use to implement the given remote interface.

remoteInterface

The factory produces objects implementing this interface.

marshalOutputs

If true, proxy objects created by this factory will automatically marshal any MWArray-based method outputs to their corresponding Java types.

Properties

Public Properties

No public properties.

Methods

expand all

Version History

Introduced in R2006a