intarsys runtime library

de.intarsys.tools.transaction
Interface IResourceType<T extends IResource>

Type Parameters:
T - The IResource that will be created by this type.
All Known Implementing Classes:
CommonResourceType, FileSystemResourceType

public interface IResourceType<T extends IResource>

The type of an IResource.


Method Summary
 T createResource(T parent)
          Create a new IResource instance.
 

Method Detail

createResource

T createResource(T parent)
                                   throws ResourceException
Create a new IResource instance. The IResource may be nested within a parent resource.

Parameters:
parent -
Returns:
The new IResource
Throws:
ResourceException

intarsys runtime library

Copyright © 2012 intarsys consulting GmbH. All Rights Reserved.