public class SecureEventAdminFactory
extends java.lang.Object
implements org.osgi.framework.ServiceFactory<org.osgi.service.event.EventAdmin>
| Constructor and Description |
|---|
SecureEventAdminFactory(org.osgi.service.event.EventAdmin admin)
The constructor of the factory.
|
| Modifier and Type | Method and Description |
|---|---|
org.osgi.service.event.EventAdmin |
getService(org.osgi.framework.Bundle bundle,
org.osgi.framework.ServiceRegistration<org.osgi.service.event.EventAdmin> registration)
Returns a new EventAdminSecurityDecorator initialized with the
given EventAdmin.
|
void |
ungetService(org.osgi.framework.Bundle bundle,
org.osgi.framework.ServiceRegistration<org.osgi.service.event.EventAdmin> registration,
org.osgi.service.event.EventAdmin service)
This method doesn't do anything at the moment.
|
public SecureEventAdminFactory(org.osgi.service.event.EventAdmin admin)
admin - The EventAdmin service to secure.public org.osgi.service.event.EventAdmin getService(org.osgi.framework.Bundle bundle,
org.osgi.framework.ServiceRegistration<org.osgi.service.event.EventAdmin> registration)
getService in interface org.osgi.framework.ServiceFactory<org.osgi.service.event.EventAdmin>bundle - The bundle used to determine the permissions of the callerregistration - The ServiceRegistration that is not usedServiceFactory.getService(org.osgi.framework.Bundle,
org.osgi.framework.ServiceRegistration)public void ungetService(org.osgi.framework.Bundle bundle,
org.osgi.framework.ServiceRegistration<org.osgi.service.event.EventAdmin> registration,
org.osgi.service.event.EventAdmin service)
ungetService in interface org.osgi.framework.ServiceFactory<org.osgi.service.event.EventAdmin>bundle - The bundle object that is not usedregistration - The ServiceRegistration that is not usedservice - The service object that is not usedServiceFactory.ungetService(org.osgi.framework.Bundle,
org.osgi.framework.ServiceRegistration, java.lang.Object)Copyright © 2006-2014 The Apache Software Foundation. All Rights Reserved.