Class ServiceRegistrationImpl.ServiceFactoryPrivileged

  • All Implemented Interfaces:
    java.security.PrivilegedExceptionAction
    Enclosing class:
    ServiceRegistrationImpl

    private class ServiceRegistrationImpl.ServiceFactoryPrivileged
    extends java.lang.Object
    implements java.security.PrivilegedExceptionAction
    This simple class is used to ensure that when a service factory is called, that no other classes on the call stack interferes with the permissions of the factory itself.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private Bundle m_bundle  
      private java.lang.Object m_svcObj  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object run()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • m_bundle

        private Bundle m_bundle
      • m_svcObj

        private java.lang.Object m_svcObj
    • Constructor Detail

      • ServiceFactoryPrivileged

        public ServiceFactoryPrivileged​(Bundle bundle,
                                        java.lang.Object svcObj)
    • Method Detail

      • run

        public java.lang.Object run()
                             throws java.lang.Exception
        Specified by:
        run in interface java.security.PrivilegedExceptionAction
        Throws:
        java.lang.Exception