Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Association Creation from Persisted Data #191

Open
GoogleCodeExporter opened this issue Jun 4, 2015 · 0 comments
Open

Association Creation from Persisted Data #191

GoogleCodeExporter opened this issue Jun 4, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

What version of the product are you using? On what operating system?
0.9.7

Please provide any additional information below.

Association should provide a method such as:

public static Association create( String handle, String type, byte[] mackey, 
Date expire) { ... } 

So that the mapping from the TYPE_ mapping logic does not need to be duplicated 
outside of the Association class where neither of the provided 
ServerAssociationStore implementations can be used. This would also alleviate 
concern about types being added/removed would not exist (for the most part). An 
example of where duplication exists already is in 
JdbcServerAssociationStore::load(...).

Original issue reported on code.google.com by [email protected] on 20 Feb 2013 at 10:43

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant