org.jboss.system.server.profileservice.repository.clustered.local.file
Class FilesystemLocalContentManagerFactory
java.lang.Object
org.jboss.system.server.profileservice.repository.clustered.local.file.FilesystemLocalContentManagerFactory
- All Implemented Interfaces:
- LocalContentManagerFactory<FileBasedSynchronizationActionContext>
public class FilesystemLocalContentManagerFactory
- extends Object
- implements LocalContentManagerFactory<FileBasedSynchronizationActionContext>
LocalContentManagerFactory
that creates a
FilesystemLocalContentManager
.
- Version:
- $Revision: $
- Author:
- Brian Stansberry
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FilesystemLocalContentManagerFactory
public FilesystemLocalContentManagerFactory()
getMetadataPersister
public ContentMetadataPersister getMetadataPersister()
setMetadataPersister
public void setMetadataPersister(ContentMetadataPersister metadataPersister)
getTempDirURI
public URI getTempDirURI()
setTempDirURI
public void setTempDirURI(URI tempDirURI)
accepts
public boolean accepts(Collection<URI> uris)
- Description copied from interface:
LocalContentManagerFactory
- Indicates whether this factory can create a
LocalContentManager
that works with the given collection of URIs.
- Specified by:
accepts
in interface LocalContentManagerFactory<FileBasedSynchronizationActionContext>
- Parameters:
uris
- the URIs. Cannot be null
- Returns:
true
if a persister can be created, false
otherwise
getLocalContentManager
public LocalContentManager<FileBasedSynchronizationActionContext> getLocalContentManager(Map<String,URI> namedURIMap,
org.jboss.profileservice.spi.ProfileKey profileKey,
String localNodeName)
- Description copied from interface:
LocalContentManagerFactory
- Gets a
LocalContentManager
for the given set of URIs.
- Specified by:
getLocalContentManager
in interface LocalContentManagerFactory<FileBasedSynchronizationActionContext>
- Parameters:
namedURIMap
- the URIs to be managed, keyed by a unique identifierprofileKey
- key of the Profile
associated with the contentlocalNodeName
- cluster-wide unique name for this node
- Returns:
- the content manager
Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.