Skip to Main Content
Component- Oriented Development and Assembly
book

Component- Oriented Development and Assembly

by Piram Manickam, S. Sangeetha, S. V. Subrahmanya
December 2013
Intermediate to advanced content levelIntermediate to advanced
298 pages
7h 27m
English
Auerbach Publications
Content preview from Component- Oriented Development and Assembly
102
ComPonent-oriented develoPment and assemblY
In the POS example, let us consider the consumption of the ITableBiz service
registered by the Table component. e GuestUI component is in need of this
service. Inside the GuestUI component, we have a TableBizHolder class, which
serves as the helper class to locate the ITableBiz service. e code of the helper
method getTa bleBiz() inside the TableBizHolder class is presented:
public ITableBiz getTableBiz() {
ServiceReference<ITableBiz>
tableBizServiceRef=bundleContext
.getServiceReference(ITableBiz.class);
return bundleContext.getService(tableBizServiceRef);
}
e service layer provides a procedural service model where the publishing bundle
takes the responsibility of publishing the ser ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Large-Scale, Component-Based Development

Large-Scale, Component-Based Development

Alan W. Brown

Publisher Resources

ISBN: 9781466580992