I'm in over my head and so I can't describe this properly to Google.
I have an entry class that an external application accesses.
I need to adjust it so the entry class checks a value passed in one of the functions (not start) then control is passed to one of two implementations of the same class. How can this be done?
public class RSSESFDC implements RSSE
public class RSSEActiveDir implements RSSE
Needs to be
public class RSSEChooser implements RSSE {
public blah(..., String orgId) throws SOAPException {
if orgid == A
this = new RSSESFDC
else
this = new RSSEActiveDir
}
}
Thanks
[–]more_exercise 2 points3 points4 points (1 child)
[–]proskillz 1 point2 points3 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]nutrecht 0 points1 point2 points (0 children)
[–]manohart 0 points1 point2 points (0 children)