Skip to content

Commit

Permalink
Fixed the persona manager.
Browse files Browse the repository at this point in the history
  • Loading branch information
macalinao committed Dec 5, 2011
1 parent 458badb commit da53faf
Showing 1 changed file with 12 additions and 1 deletion.
Expand Up @@ -8,7 +8,18 @@
* Persona manager.
*/
public interface PersonaManager {
public void registerPersona(Class<? extends Persona> type);
/**
* Registers a persona.
*
* @param persona
*/
public void registerPersona(Persona persona);

/**
* Gets a persona.
*
* @param id
* @return
*/
public Persona getPersona(String id);
}

0 comments on commit da53faf

Please sign in to comment.