C# Class Spring.Remoting.CaoExporter.CaoRemoteFactory

Inheritance: System.MarshalByRefObject, ICaoRemoteFactory
ファイルを表示 Open project: spring-projects/spring-net

Public Methods

Method Description
CaoRemoteFactory ( ILifetime lifetime, string targetName, string interfaces, Spring.Objects.Factory.Support.AbstractObjectFactory objectFactory ) : System

Create a new instance of the RemoteFactory.

GetObject ( ) : object

Returns the CAO proxy.

GetObject ( object constructorArguments ) : object

Returns the CAO proxy using the argument list to call the constructor.

The matching of arguments to call the constructor is done by type. The alternative ways, by index and by constructor name are not supported.

InitializeLifetimeService ( ) : object

Set infinite lifetime.

Method Details

CaoRemoteFactory() public method

Create a new instance of the RemoteFactory.
public CaoRemoteFactory ( ILifetime lifetime, string targetName, string interfaces, Spring.Objects.Factory.Support.AbstractObjectFactory objectFactory ) : System
lifetime ILifetime
targetName string
interfaces string
objectFactory Spring.Objects.Factory.Support.AbstractObjectFactory
return System

GetObject() public method

Returns the CAO proxy.
public GetObject ( ) : object
return object

GetObject() public method

Returns the CAO proxy using the argument list to call the constructor.
The matching of arguments to call the constructor is done by type. The alternative ways, by index and by constructor name are not supported.
public GetObject ( object constructorArguments ) : object
constructorArguments object Constructor /// arguments used to create the object.
return object

InitializeLifetimeService() public method

Set infinite lifetime.
public InitializeLifetimeService ( ) : object
return object