public < T > void register ( String subjectName , SubjectObserver < T > subjectObserver , Subject < T > subject ) { subject . add ( subjectObserver ) ; this . registry . put ( subjectName , subject ) ; }
Add subject observer to a subject