public final class Resource extends Object
Modifier and Type | Method and Description |
---|---|
Diagnostics |
getDiagnostics()
Provides diagnostic information for this Resource.
|
ExchangeProcessor |
getExchangeProcessor() |
static Resource |
getInstance()
Retrieves singleton instance of the Resource.
|
Properties |
getProperties()
Retrieves Resource streaming properties.
|
void |
init() |
static void |
main(String[] args)
Main entry point for a Granules computational resource.
|
public static Resource getInstance()
NullPointerException
- if the Resource has not be initializedpublic Diagnostics getDiagnostics()
public Properties getProperties()
public ExchangeProcessor getExchangeProcessor()
public void init() throws CommunicationsException
CommunicationsException
public static void main(String[] args)
args
- Copyright © 2015. All rights reserved.