org.globus.exec.service.factory
Class ManagedJobFactoryHome
java.lang.Object
org.globus.wsrf.impl.ResourceHomeImpl
org.globus.exec.service.factory.ManagedJobFactoryHome
- All Implemented Interfaces:
- Initializable, ResourceHome
- public class ManagedJobFactoryHome
- extends ResourceHomeImpl
| Methods inherited from class org.globus.wsrf.impl.ResourceHomeImpl |
createNewInstance, createNewInstanceAndLoad, find, getCacheLocation, getKeyTypeClass, getKeyTypeName, getResourceClass, getSweeperDelay, remove, setCacheLocation, setResourceClass, setResourceKeyName, setResourceKeyType, setSweeperDelay |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
private static org.apache.commons.logging.Log logger
i18n
private static org.globus.util.I18n i18n
CONFIGURATION
private static FactoryHomeConfiguration CONFIGURATION
registerToMDS
private boolean registerToMDS
initialized
private boolean initialized
ManagedJobFactoryHome
public ManagedJobFactoryHome()
initialize
public void initialize()
throws java.lang.Exception
- Throws:
java.lang.Exception
create
private ManagedJobFactoryResource create(java.lang.String localResourceManager,
java.lang.String scratchDirectory)
throws java.lang.Exception
- This function is private as we do not want to let other objects create
factory resources.
- Parameters:
localResourceManager - the local resource manager to manage the
new job with.
- Returns:
- ManagedJobFactoryResource
- Throws:
java.lang.Exception
add
protected void add(ResourceKey key,
Resource resource)
- Override add to optionally publish to MDS, if so configured.
createResourceBean
private ManagedJobFactoryResourceProperties createResourceBean(java.lang.String localResourceManager,
java.lang.String scratchDirectory)
getHome
public static ManagedJobFactoryHome getHome()
throws javax.naming.NamingException
- Throws:
javax.naming.NamingException
getConfiguration
public static FactoryHomeConfiguration getConfiguration()