Class ReflectiveClassIntrospector

java.lang.Object
org.jboss.as.ee.component.ReflectiveClassIntrospector
All Implemented Interfaces:
EEClassIntrospector, org.jboss.msc.Service, org.jboss.msc.service.Service<EEClassIntrospector>, org.jboss.msc.value.Value<EEClassIntrospector>

public class ReflectiveClassIntrospector extends Object implements EEClassIntrospector, org.jboss.msc.service.Service<EEClassIntrospector>
Author:
Stuart Douglas
  • Field Details

    • SERVICE_NAME

      public static final org.jboss.msc.service.ServiceName SERVICE_NAME
    • CHECK_MEMBER_ACCESS_PERMISSION

      public static final RuntimePermission CHECK_MEMBER_ACCESS_PERMISSION
  • Constructor Details

    • ReflectiveClassIntrospector

      public ReflectiveClassIntrospector()
      Constructs a new instance.
      Throws:
      SecurityException - if the security manager is present and the runtime accessDeclaredMembers access is not granted
  • Method Details

    • createFactory

      public org.jboss.as.naming.ManagedReferenceFactory createFactory(Class<?> clazz)
      Specified by:
      createFactory in interface EEClassIntrospector
    • createInstance

      public org.jboss.as.naming.ManagedReference createInstance(Object instance)
      Description copied from interface: EEClassIntrospector
      Returns the managed reference of an new instance.
      Specified by:
      createInstance in interface EEClassIntrospector
      Parameters:
      instance - an object instance
      Returns:
      a managed reference
    • getInstance

      public org.jboss.as.naming.ManagedReference getInstance(Object instance)
      Description copied from interface: EEClassIntrospector
      Returns the managed reference of an existing instance.
      Specified by:
      getInstance in interface EEClassIntrospector
      Parameters:
      instance - an object instance
      Returns:
      a managed reference
    • start

      public void start(org.jboss.msc.service.StartContext startContext) throws org.jboss.msc.service.StartException
      Specified by:
      start in interface org.jboss.msc.Service
      Throws:
      org.jboss.msc.service.StartException
    • stop

      public void stop(org.jboss.msc.service.StopContext stopContext)
      Specified by:
      stop in interface org.jboss.msc.Service
    • getValue

      Specified by:
      getValue in interface org.jboss.msc.value.Value<EEClassIntrospector>
      Throws:
      IllegalStateException
      IllegalArgumentException