uk.ac.soton.itinnovation.grid.client.engine.impl
Class PersistentRegistry
java.lang.Object
uk.ac.soton.itinnovation.grid.client.engine.impl.LocalRegistry
uk.ac.soton.itinnovation.grid.client.engine.impl.PersistentRegistry
- All Implemented Interfaces:
- SimpleRegistry
public class PersistentRegistry
- extends LocalRegistry
db
protected File db
properties
protected Hashtable<QName,String> properties
PersistentRegistry
public PersistentRegistry(File file)
throws IOException
- Creates a new instance of PersistentRegistry
- Throws:
IOException
freeze
public void freeze()
thaw
public void thaw()
registerResource
public void registerResource(org.apache.axis.message.addressing.EndpointReferenceType epr)
- Description copied from interface:
SimpleRegistry
- Add 'resource' to the list of resources registered to this account.
- Specified by:
registerResource in interface SimpleRegistry- Overrides:
registerResource in class LocalRegistry
- Parameters:
epr - the resource to be added
parseXML
public static Document parseXML(File xml)
throws IOException
- Throws:
IOException
importSavedInternal
protected boolean importSavedInternal()
throws IOException
- Throws:
IOException
unregisterResource
public void unregisterResource(org.apache.axis.message.addressing.EndpointReferenceType epr)
- Description copied from interface:
SimpleRegistry
- Remove a resource previously added with
SimpleRegistry.registerResource(org.apache.axis.message.addressing.EndpointReferenceType).
- Specified by:
unregisterResource in interface SimpleRegistry- Overrides:
unregisterResource in class LocalRegistry
updateResource
public void updateResource(org.apache.axis.message.addressing.EndpointReferenceType epr)
throws IllegalArgumentException
- Description copied from interface:
SimpleRegistry
- Updates and existing registry
- Specified by:
updateResource in interface SimpleRegistry- Overrides:
updateResource in class LocalRegistry
- Parameters:
epr - The endpoint to be updated
- Throws:
IllegalArgumentException
Copyright © 2001-2008 University of Southampton IT Innovation Centre. All Rights Reserved.