Home Page Icon
Home Page
Table of Contents for
Index
Close
Index
by Li Gong, Kirk Chen
Programming Open Service Gateways with Java Embedded Server™ Technology
Copyright
Preface
Acknowledgments
Introduction
The Internet and the Networked Home
The Service Gateway
Challenges
Java Embedded Server Technology
The Open Services Gateway Initiative
Operational Model
Getting Started
Setting Up the Java Embedded Server Software
The “Home, Sweet Home” Bundle
Running the Bundle
Architecture and Basic Concepts
Motivation
Architecture
Service
Bundle
The Framework
Cooperation among Bundles and Services
Life within the Framework
The Component-based Model
Forget CLASSPATH
Developing Bundles
Writing Service Bundles
Same Service Interface, Different Implementations
Retrieving Resources from within the Bundle
Obtaining and Calling Registered Services
Service Factory
Relevant org.osgi.framework APIs
Library Bundles
Advanced Examples
Writing Bundles That Contain Native Code
Common Mistakes
Cooperation among Service Bundles
Event Handling
Bundle State and Service Registration
Synchronous and Asynchronous Events
Dealing with Service Unregistration
Cooperation with Asynchronous Events
Design Patterns and Pitfalls
Designing the Service
Designing Library Bundles
Delegation and Callback
Leveraging the Service Registry
Threading
Managing Object Allocation
Standard Services
The Log Service
The HTTP Service
Device Access
Introduction
Motivation
Cast of Characters
Writing DA Services
Putting It Together
Permission-based Security and Administration
Permission-based Security inside the Java 2 Platform
OSGi Permissions
Enabling Security
Using Permissions in Your Service
Administration
Future Directions
Removing Phantom Bundles
Dynamic Permissions
Preferences
User Administration
Configuration Management
What's Next
Code Examples
Chapter 4—Developing Bundles
Chapter 8—Device Access
Chapter 9—Permission-based Security and Administration
OSGi Service Gateway Specification
Package org.osgi.framework
AdminPermission
Bundle
BundleActivator
BundleContext
BundleEvent
BundleException
BundleListener
Configurable
FrameworkEvent
FrameworkListener
InvalidSyntaxException
PackagePermission
ServiceEvent
ServiceFactory
ServiceListener
ServicePermission
ServiceRegistration
Package org.osgi.service.device
Device
Driver
DriverLocator
Package org.osgi.service.http
HttpContext
HttpService
NamespaceException
Package org.osgi.service.log
LogEntry
LogListener
LogReaderService
LogService
Bibliography
Index
Search in book...
Toggle Font Controls
Playlists
Add To
Create new playlist
Name your new playlist
Playlist description (optional)
Cancel
Create playlist
Sign In
Email address
Password
Forgot Password?
Create account
Login
or
Continue with Facebook
Continue with Google
Sign Up
Full Name
Email address
Confirm Email Address
Password
Login
Create account
or
Continue with Facebook
Continue with Google
Prev
Previous Chapter
Bibliography
Index
Add Highlight
No Comment
..................Content has been hidden....................
You can't read the all page of ebook, please click
here
login for view all page.
Day Mode
Cloud Mode
Night Mode
Reset