Hi Omar,
It isn't clear to me if you mean via a Resource provider or via JNDI?
Unfortunately there doesn't seem to be a consolidated list anywhere of the different configuration elements that are available and which feature provides each one (perhaps IBM might consider something that could be generated from the module metadata? - if something like this exists already please direct us towards it).
One place to start looking is the feature list:
https://www.ibm.com/support/knowledgecenter/SSD28V_9.0.0/com.ibm.websphere.wlp.core.doc/ae/rwlp_feat.html
In this case you can drill down into the JNDI feature:
https://www.ibm.com/support/knowledgecenter/SSD28V_9.0.0/com.ibm.websphere.liberty.autogen.nd.doc/ae/rwlp_feature_jndi-1.0.html
and at the bottom of the page (who creates these docs?!) you'll see the config elements available and clicking on each one gives some info on what to put in your server.xml (or included xml file).
From a Java code perspective the usage should be the same as any other JEE appserver I believe.
Not all of the features are documented it seems, so you are left guessing somewhat what they do! I'd have to assume these ones don't have any config elements associated to them.