Create a space proxy which its lifecycle is managed by the container.
The caller does not need to take care of shutting down or disposing the proxy when the container is disposing.
Declaration Syntax
C# | Visual Basic | Visual C++ | J# |
protected ISpaceProxy CreateSpaceProxy( string name, string url, SpaceConfig spaceConfig, bool clusterInfoAware, SpaceProxyMode spaceProxyMode )
Protected Function CreateSpaceProxy ( _ name As String, _ url As String, _ spaceConfig As SpaceConfig, _ clusterInfoAware As Boolean, _ spaceProxyMode As SpaceProxyMode _ ) As ISpaceProxy
protected: ISpaceProxy^ CreateSpaceProxy( String^ name, String^ url, SpaceConfig^ spaceConfig, bool clusterInfoAware, SpaceProxyMode spaceProxyMode )
protected ISpaceProxy CreateSpaceProxy( String name, String url, SpaceConfig spaceConfig, boolean clusterInfoAware, SpaceProxyMode spaceProxyMode )
Parameters
- name (String)
- Space proxy name.
- url (String)
- Space proxy creation url.
- spaceConfig (SpaceConfig)
- Space proxy configuration.
- clusterInfoAware (Boolean)
- Is space proxy aware to the container cluster info.
- spaceProxyMode (SpaceProxyMode)
- Should return a clustered proxy or a direct proxy to the created cluster member, only relevant for embedded proxies (default for embedded proxies is direct and clustered for remote proxies).
Return Value
Space proxy.