@PublicAPI public class RMFactory extends Object
Constructor and Description |
---|
RMFactory() |
Modifier and Type | Method and Description |
---|---|
static void |
configureJSch() |
static void |
setOsJavaProperty()
Set Java Property "os" used by default GCM deployment file.
|
static RMAuthentication |
startLocal()
Creates and starts a Resource manager on the local host.
|
static RMAuthentication |
startLocal(RMInitializer initializer)
Creates and starts a Resource manager on the local host using the given initializer to configure it.
|
public static RMAuthentication startLocal(RMInitializer initializer) throws Exception
initializer
- Use to configure the Resource Manager before starting it.
This parameter can be null, if so the Resource Manager will try to start on the JVM properties and
the "pa.rm.home" property MUST be set to the root of the RM directory.org.objectweb.proactive.core.node.NodeException
- If the RM's node can't be createdorg.objectweb.proactive.ActiveObjectCreationException
- If RMCore cannot be createdAlreadyBoundException
- if a node with the same RMNode's name is already exist.IOException
- If node and RMCore fails.RMException
- if the connection to the authentication interface fails.Exception
public static void configureJSch()
public static RMAuthentication startLocal() throws Exception
org.objectweb.proactive.core.node.NodeException
- If the RM's node can't be createdorg.objectweb.proactive.ActiveObjectCreationException
- If RMCore cannot be createdAlreadyBoundException
- if a node with the same RMNode's name is already exist.IOException
- If node and RMCore fails.Exception
public static void setOsJavaProperty()