Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Liferay Portal Systems Development

You're reading from   Liferay Portal Systems Development Build dynamic, content-rich, and social systems on top of Liferay with this book and ebook

Arrow left icon
Product type Paperback
Published in Jan 2012
Publisher Packt
ISBN-13 9781849515986
Length 546 pages
Edition 1st Edition
Languages
Arrow right icon
Toc

Table of Contents (17) Chapters Close

Liferay Portal Systems Development
Credits
About the Author
Acknowledgement
About the Reviewers
1. www.PacktPub.com
2. Preface
1. Liferay Enterprise Portal FREE CHAPTER 2. Service-Builder and Development Environment 3. Generic MVC Portlets 4. Ext Plugin and Hooks 5. Enterprise Content Management 6. DDL and WCM 7. Collaborative and Social API 8. Staging, Scheduling, Publishing, and Cache Clustering 9. Indexing, Search, and Workflow 10. Mobile Devices and Portlet Bridges

Class loader proxy


Class loader proxy would be useful to share plugins services among different plugins. For example, let's say you have two plugins, chat-portlet and knowledge-base-portlet. Each one has its own WAR file. One of them, let's say chat-portlet, has a service named StatusLocalService and the service layer StatusLocalServiceUtil. Moreover, the second portlet, let's say knowledge-base-portlet, needs to use the service StatusLocalServiceUtil.getStatuses in order to find out who is online or offline. The class loader proxy class can achieve these requirements easily.

Note

Note that the portal core and built-in portlets services were deployed on an application server global lib, while the plugin services were deployed on the plugin's lib by default. It is also possible that you can deploy the plugin services on an application server global lib, thus these services will be shared among other plugins, even the portal core and built-in portlets.

The class com.liferay.portal.kernel.util...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image