improve RepositoryManager api

This commit is contained in:
Sebastian Sdorra
2010-09-16 19:54:09 +02:00
parent e8a8424899
commit e1dc4fe382
2 changed files with 24 additions and 0 deletions

View File

@@ -210,6 +210,20 @@ public class BasicRepositoryManager extends AbstractRepositoryManager
return repositories; return repositories;
} }
/**
* Method description
*
*
* @param type
*
* @return
*/
@Override
public RepositoryHandler getHandler(String type)
{
return handlerMap.get(type);
}
/** /**
* Method description * Method description
* *

View File

@@ -25,6 +25,16 @@ public interface RepositoryManager
ListenerSupport<RepositoryListener> ListenerSupport<RepositoryListener>
{ {
/**
* Method description
*
*
* @param type
*
* @return
*/
public RepositoryHandler getHandler(String type);
/** /**
* Method description * Method description
* *