You can find sample code for defining the above mentioned extension points in the file ExtensionViewFactory.java that is provided in the demos folder under the CentraSite installation folder.
For configuring an extension on the
CentraSite Business UI, see
Configuring an Extension.