public class SecureEventAdminFactory
extends java.lang.Object
implements org.osgi.framework.ServiceFactory
| Constructor and Description |
|---|
SecureEventAdminFactory(org.osgi.service.event.EventAdmin admin)
The constructor of the factory.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getService(org.osgi.framework.Bundle bundle,
org.osgi.framework.ServiceRegistration registration)
Returns a new EventAdminSecurityDecorator initialized with the
given EventAdmin.
|
void |
ungetService(org.osgi.framework.Bundle bundle,
org.osgi.framework.ServiceRegistration registration,
java.lang.Object 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 java.lang.Object getService(org.osgi.framework.Bundle bundle,
org.osgi.framework.ServiceRegistration registration)
getService in interface org.osgi.framework.ServiceFactorybundle - 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 registration,
java.lang.Object service)
ungetService in interface org.osgi.framework.ServiceFactorybundle - 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 © 2015 FuseSource, Corp.. All Rights Reserved.