public class D1NodeFactory extends Object
Constructor and Description |
---|
D1NodeFactory() |
Modifier and Type | Method and Description |
---|---|
static <N> N |
buildNode(Class<N> serviceClass,
MultipartRestClient mrc,
URI uri)
Creates a
D1Node implementation for the given serviceClass . |
public static <N> N buildNode(Class<N> serviceClass, MultipartRestClient mrc, URI uri) throws ClientSideException
D1Node
implementation for the given serviceClass
.serviceClass
- the class representing the service we want to use on the node
(MNRead, MNAuthorization, MNStorage, etc.)mrc
- the MultipartRestClient
for the node REST requestsuri
- the URI
for the node being createdD1Node
ClientSideException
- if the INodeCreator
fails to create the nodeCopyright © 2020. All Rights Reserved.