org.jboss.forge.resource
Class ResourceFactoryImpl
java.lang.Object
org.jboss.forge.resource.ResourceFactoryImpl
- All Implemented Interfaces:
- ResourceFactory, ResourceTransactionManager
@Singleton
public class ResourceFactoryImpl
- extends Object
- implements ResourceFactory, ResourceTransactionManager
- Author:
- Ken Finnigan, Mike Brock
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResourceFactoryImpl
public ResourceFactoryImpl()
create
public <E,T extends Resource<E>> T create(Class<T> type,
E underlyingResource)
- Specified by:
create in interface ResourceFactory
create
public <E> Resource<E> create(E underlyingResource)
- Specified by:
create in interface ResourceFactory
fireEvent
public ResourceFactory fireEvent(ResourceEvent event)
- Specified by:
fireEvent in interface ResourceFactory
getCurrentTransaction
public ResourceTransaction getCurrentTransaction()
- Specified by:
getCurrentTransaction in interface ResourceTransactionManager
startTransaction
public ResourceTransaction startTransaction()
throws ResourceException
- Specified by:
startTransaction in interface ResourceTransactionManager
- Throws:
ResourceException
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.