Uses of Class
org.glassfish.hk2.api.MultiException
Packages that use MultiException
Package
Description
-
Uses of MultiException in com.sun.enterprise.module
Methods in com.sun.enterprise.module that throw MultiExceptionModifier and TypeMethodDescriptionModulesRegistry.createServiceLocator()Creates the defaultServiceLocatorfrom all the modules in this registry Calling this method has the same effect of calling}invalid @link
{@link #createServiceLocator("default")ModulesRegistry.createServiceLocator(String name) Creates aServiceLocatorfrom all the modules in this registry Cal;ling this method has the same effect of callingModulesRegistry.newServiceLocator()followed by}.invalid @link
{@link #populateServiceLocator(String, org.glassfish.hk2.api.ServiceLocator, java.util.ListModulesRegistry.newServiceLocator()Creates an uninitializedServiceLocatorModulesRegistry.newServiceLocator(ServiceLocator parent) voidModulesRegistry.populateConfig(ServiceLocator serviceLocator) voidModulesRegistry.populateServiceLocator(String name, ServiceLocator h, List<PopulatorPostProcessor> postProcessors) Populates aServiceLocatorfrom all the modules in this registry. -
Uses of MultiException in com.sun.enterprise.module.common_impl
Methods in com.sun.enterprise.module.common_impl that throw MultiExceptionModifier and TypeMethodDescriptionAbstractModulesRegistryImpl.createServiceLocator()AbstractModulesRegistryImpl.createServiceLocator(String name) AbstractModulesRegistryImpl.createServiceLocator(ServiceLocator parent, String name, List<PopulatorPostProcessor> postProcessors) protected voidAbstractModulesRegistryImpl.initializeServiceLocator(ServiceLocator serviceLocator) AbstractModulesRegistryImpl.newServiceLocator()Creates an uninitializedServiceLocatorAbstractModulesRegistryImpl.newServiceLocator(ServiceLocator parent) Create a new ServiceLocator optionally providing a parent ServicesvoidAbstractModulesRegistryImpl.populateServiceLocator(String name, ServiceLocator serviceLocator, List<PopulatorPostProcessor> postProcessors) Creates aServiceLocatorfrom all the modules in this registry -
Uses of MultiException in com.sun.enterprise.module.single
Methods in com.sun.enterprise.module.single that throw MultiException -
Uses of MultiException in org.glassfish.hk2.api
Methods in org.glassfish.hk2.api that return MultiExceptionModifier and TypeMethodDescriptionErrorInformation.getAssociatedException()This will contain the associated exception or exceptions that caused the failure.Methods in org.glassfish.hk2.api that throw MultiExceptionModifier and TypeMethodDescriptionProxyCtl.__make()This method causes the proxy instance to get created at the current time, without calling any of the methods on the underlying class itself.<T> ActiveDescriptor<T> DynamicConfiguration.addActiveDescriptor(Class<T> rawClass) This adds an active descriptor to the system based completely on the analysis of the given class.DynamicConfiguration.addActiveFactoryDescriptor(Class<? extends Factory<T>> rawFactoryClass) This adds two active descriptors to the system based completely on the analysis of the givenFactoryclass.voidDynamicConfiguration.commit()This causes the configuration to get committed.List<ServiceHandle<?>> ServiceLocator.getAllServiceHandles(Annotation qualifier, Annotation... qualifiers) Gets a list ofServiceHandlethat can be used to get and destroy services associated with descriptors that match the provided criteria<T> List<ServiceHandle<T>> ServiceLocator.getAllServiceHandles(Class<T> contractOrImpl, Annotation... qualifiers) Gets a list ofServiceHandlethat can be used to get and destroy services associated with descriptors that match the provided criteriaList<ServiceHandle<?>> ServiceLocator.getAllServiceHandles(Type contractOrImpl, Annotation... qualifiers) Gets a list ofServiceHandlethat can be used to get and destroy services associated with descriptors that match the provided criteriaList<ServiceHandle<?>> ServiceLocator.getAllServiceHandles(Filter searchCriteria) Gets a list ofServiceHandlewhoseActiveDescriptors match the supplied filter.<T> List<T> ServiceLocator.getAllServices(Annotation qualifier, Annotation... qualifiers) Gets all services from this locator that have the provided qualifiers<T> List<T> ServiceLocator.getAllServices(Class<T> contractOrImpl, Annotation... qualifiers) Gets all services from this locator that implement this contract or have this implementation and have the provided qualifiers<T> List<T> ServiceLocator.getAllServices(Type contractOrImpl, Annotation... qualifiers) Gets all services from this locator that implement this contract or have this implementation and have the provided qualifiersList<?> ServiceLocator.getAllServices(Filter searchCriteria) Gets all services from this locator that match the providedFilter<T> Constructor<T> ClassAnalyzer.getConstructor(Class<T> clazz) Will return the constructor that it to be used when constructing this serviceWill return the set of initializer fields to be used when initializing this serviceClassAnalyzer.getInitializerMethods(Class<T> clazz) Will return the set of initializer method to be used when initializing this serviceServiceLocator.getInjecteeDescriptor(Injectee injectee) This method will first find a descriptor for this injectee, and then reify that descriptor.<T> MethodClassAnalyzer.getPostConstructMethod(Class<T> clazz) Will return the postConstruct method of the class<T> MethodClassAnalyzer.getPreDestroyMethod(Class<T> clazz) Will return the preDestroy method of the class<T> TServiceLocator.getService(Class<T> contractOrImpl, Annotation... qualifiers) Gets the best service from this locator that implements this contract or has this implementation<T> TServiceLocator.getService(Class<T> contractOrImpl, String name, Annotation... qualifiers) Gets the best service from this locator that implements this contract or has this implementation and has the given name<T> TServiceLocator.getService(Type contractOrImpl, Annotation... qualifiers) Gets the best service from this locator that implements this contract or has this implementation<T> TServiceLocator.getService(Type contractOrImpl, String name, Annotation... qualifiers) Gets the best service from this locator that implements this contract or has this implementation and has the given name<T> TServiceLocator.getService(ActiveDescriptor<T> activeDescriptor, ServiceHandle<?> root) Deprecated.<T> TServiceLocator.getService(ActiveDescriptor<T> activeDescriptor, ServiceHandle<?> root, Injectee injectee) This method should be called by code resolving injectee's on behalf of some root service, usually by an implementation ofInjectionResolver.resolve(Injectee, ServiceHandle).<T> ServiceHandle<T> ServiceLocator.getServiceHandle(Class<T> contractOrImpl, Annotation... qualifiers) Gets aServiceHandlethat can be used to get and destroy the service that best matches the given criteria<T> ServiceHandle<T> ServiceLocator.getServiceHandle(Class<T> contractOrImpl, String name, Annotation... qualifiers) Gets aServiceHandlethat can be used to get and destroy the service that best matches the given criteria<T> ServiceHandle<T> ServiceLocator.getServiceHandle(Type contractOrImpl, Annotation... qualifiers) Gets aServiceHandlethat can be used to get and destroy the service that best matches the given criteria<T> ServiceHandle<T> ServiceLocator.getServiceHandle(Type contractOrImpl, String name, Annotation... qualifiers) Gets aServiceHandlethat can be used to get and destroy the service that best matches the given criteria<T> ServiceHandle<T> ServiceLocator.getServiceHandle(ActiveDescriptor<T> activeDescriptor) Gets aServiceHandlethat can be used to get and destroy the service described by theActiveDescriptor.<T> ServiceHandle<T> ServiceLocator.getServiceHandle(ActiveDescriptor<T> activeDescriptor, Injectee injectee) Gets aServiceHandlethat can be used to get and destroy the service described by theActiveDescriptor.Class<?> Loads a class given the class name to instantiatevoidErrorService.onFailure(ErrorInformation errorInformation) This method is called when a failure occurs in the system.List<ActiveDescriptor<?>> Populator.populate()This method will populate the service locator using the system classloader to find the hk2-locator files from the default location of META-INF/hk2-locator/default.List<ActiveDescriptor<?>> Populator.populate(DescriptorFileFinder fileFinder, PopulatorPostProcessor... postProcessors) This method can be used to populate the service locator with files that have been written out using theDescriptorImplwriteObject method.voidTwoPhaseResource.prepareDynamicConfiguration(TwoPhaseTransactionData dynamicConfiguration) This method is called prior to any changes being made to theServiceLocatorbut after the IdempotentFilters are called.ServiceLocator.reifyDescriptor(Descriptor descriptor) Converts a descriptor to an ActiveDescriptor.ServiceLocator.reifyDescriptor(Descriptor descriptor, Injectee injectee) Converts a descriptor to an ActiveDescriptor. -
Uses of MultiException in org.glassfish.hk2.configuration.hub.api
Methods in org.glassfish.hk2.configuration.hub.api that throw MultiExceptionModifier and TypeMethodDescriptionvoidWriteableBeanDatabase.commit()This method should be called when the writeable database should become the current database.voidThis method should be called when the writeable database should become the current database. -
Uses of MultiException in org.glassfish.hk2.configuration.hub.internal
Methods in org.glassfish.hk2.configuration.hub.internal that throw MultiExceptionModifier and TypeMethodDescriptionvoidWriteableBeanDatabaseImpl.TwoPhaseResourceImpl.prepareDynamicConfiguration(TwoPhaseTransactionData dynamicConfiguration) -
Uses of MultiException in org.glassfish.hk2.extras
Methods in org.glassfish.hk2.extras with parameters of type MultiExceptionModifier and TypeMethodDescriptionprivate static booleanExtrasUtilities.isDupException(MultiException me) -
Uses of MultiException in org.glassfish.hk2.extras.events
Methods in org.glassfish.hk2.extras.events with parameters of type MultiExceptionModifier and TypeMethodDescriptionvoidDefaultTopicDistributionErrorService.subscribersFailed(Topic<?> topic, Object message, MultiException error) This method will be called once perTopic.publish(Object)call after the message has been distributed to all subscribers. -
Uses of MultiException in org.glassfish.hk2.internal
Methods in org.glassfish.hk2.internal that throw MultiExceptionModifier and TypeMethodDescriptionvoidImmediateHelper.onFailure(ErrorInformation errorInformation) -
Uses of MultiException in org.glassfish.hk2.runlevel
Methods in org.glassfish.hk2.runlevel with parameters of type MultiExceptionModifier and TypeMethodDescriptionprivate static booleanRunLevelServiceUtilities.isDupException(MultiException me) -
Uses of MultiException in org.glassfish.hk2.runlevel.internal
Fields in org.glassfish.hk2.runlevel.internal declared as MultiExceptionModifier and TypeFieldDescriptionprivate MultiExceptionCurrentTaskFuture.UpOneLevel.accumulatedExceptionsprivate MultiExceptionCurrentTaskFuture.UpAllTheWay.exceptionMethods in org.glassfish.hk2.runlevel.internal with parameters of type MultiExceptionModifier and TypeMethodDescriptionprivate voidCurrentTaskFuture.UpAllTheWay.currentJobComplete(MultiException accumulatedExceptions) Methods in org.glassfish.hk2.runlevel.internal that throw MultiExceptionModifier and TypeMethodDescriptionCurrentTaskFuture.AllTheWay.waitForResult(long timeout, TimeUnit unit) The method to call on the internal jobCurrentTaskFuture.DownAllTheWay.waitForResult(long timeout, TimeUnit unit) CurrentTaskFuture.UpAllTheWay.waitForResult(long timeout, TimeUnit unit) -
Uses of MultiException in org.glassfish.hk2.utilities
Methods in org.glassfish.hk2.utilities with parameters of type MultiExceptionModifier and TypeMethodDescriptionprivate static booleanServiceLocatorUtilities.isDupException(MultiException me) Methods in org.glassfish.hk2.utilities that throw MultiExceptionModifier and TypeMethodDescriptionstatic ServiceLocatorServiceLocatorUtilities.createAndPopulateServiceLocator(String name) This method is often the first line of a stand-alone client that wishes to use HK2.static <T> TServiceLocatorUtilities.findOrCreateService(ServiceLocator locator, Class<T> type, Annotation... qualifiers) This method will first attempt to find a service corresponding to the type and qualifiers passed in to the method, and if one is found simply returns it.Class<?> voidRethrowErrorService.onFailure(ErrorInformation errorInformation) -
Uses of MultiException in org.glassfish.hk2.utilities.binding
Methods in org.glassfish.hk2.utilities.binding that throw MultiExceptionModifier and TypeMethodDescription<T> ActiveDescriptor<T> AbstractBinder.addActiveDescriptor(Class<T> rawClass) This adds an active descriptor to the system based completely on the analysis of the given class.AbstractBinder.addActiveFactoryDescriptor(Class<? extends Factory<T>> rawFactoryClass) This adds two active descriptors to the system based completely on the analysis of the givenFactoryclass.voidAbstractBinder.commit()This causes the configuration to get committed. -
Uses of MultiException in org.jvnet.hk2.internal
Fields in org.jvnet.hk2.internal declared as MultiExceptionModifier and TypeFieldDescriptionprivate final MultiExceptionErrorInformationImpl.exceptionprivate final MultiExceptionErrorResults.meMethods in org.jvnet.hk2.internal that return MultiExceptionModifier and TypeMethodDescriptionErrorInformationImpl.getAssociatedException()(package private) MultiExceptionErrorResults.getMe()Methods in org.jvnet.hk2.internal with parameters of type MultiExceptionModifier and TypeMethodDescription(package private) voidNarrowResults.addError(ActiveDescriptor<?> fail, Injectee injectee, MultiException me) voidCollector.addMultiException(MultiException me) Methods in org.jvnet.hk2.internal that throw MultiExceptionModifier and TypeMethodDescriptionDynamicConfigurationImpl.addActiveFactoryDescriptor(Class<? extends Factory<T>> rawFactoryClass) voidDynamicConfigurationImpl.commit()Creator.create(ServiceHandle<?> root, SystemDescriptor<?> eventThrower) Creates an instance of the given typeFactoryCreator.create(ServiceHandle<?> root, SystemDescriptor<?> eventThrower) static <T> AutoActiveDescriptor<T> Utilities.createAutoDescriptor(Class<T> clazz, ServiceLocatorImpl locator) Creates a reified automatically generated descriptorstatic <T> AutoActiveDescriptor<T> Utilities.createAutoFactoryDescriptor(Class<T> parentClazz, ActiveDescriptor<?> factoryDescriptor, ServiceLocatorImpl locator) Creates a reified automatically generated descriptorvoidDisposes the given instanceList<ServiceHandle<?>> ServiceLocatorImpl.getAllServiceHandles(Annotation qualifier, Annotation... qualifiers) <T> List<ServiceHandle<T>> ServiceLocatorImpl.getAllServiceHandles(Class<T> contractOrImpl, Annotation... qualifiers) List<ServiceHandle<?>> ServiceLocatorImpl.getAllServiceHandles(Type contractOrImpl, Annotation... qualifiers) List<ServiceHandle<?>> ServiceLocatorImpl.getAllServiceHandles(Filter searchCriteria) <T> List<T> ServiceLocatorImpl.getAllServices(Annotation qualifier, Annotation... qualifiers) <T> List<T> ServiceLocatorImpl.getAllServices(Class<T> contractOrImpl, Annotation... qualifiers) <T> List<T> ServiceLocatorImpl.getAllServices(Type contractOrImpl, Annotation... qualifiers) List<?> ServiceLocatorImpl.getAllServices(Filter searchCriteria) (package private) List<ServiceHandle<?>> ServiceLocatorImpl.getAllUnqualifiedServiceHandles(Type contractOrImpl, Unqualified unqualified, boolean isIterable, Annotation... qualifiers) <T> Constructor<T> DefaultClassAnalyzer.getConstructor(Class<T> clazz) DefaultClassAnalyzer.getInitializerMethods(Class<T> clazz) ServiceLocatorImpl.getInjecteeDescriptor(Injectee injectee) <T> MethodDefaultClassAnalyzer.getPostConstructMethod(Class<T> clazz) <T> MethodDefaultClassAnalyzer.getPreDestroyMethod(Class<T> clazz) <T> TServiceLocatorImpl.getService(Class<T> contractOrImpl, Annotation... qualifiers) <T> TServiceLocatorImpl.getService(Class<T> contractOrImpl, String name, Annotation... qualifiers) <T> TServiceLocatorImpl.getService(Type contractOrImpl, Annotation... qualifiers) <T> TServiceLocatorImpl.getService(Type contractOrImpl, String name, Annotation... qualifiers) <T> TServiceLocatorImpl.getService(ActiveDescriptor<T> activeDescriptor, ServiceHandle<?> root) Deprecated.<T> TServiceLocatorImpl.getService(ActiveDescriptor<T> activeDescriptor, ServiceHandle<?> root, Injectee originalRequest) <T> ServiceHandle<T> ServiceLocatorImpl.getServiceHandle(Class<T> contractOrImpl, Annotation... qualifiers) <T> ServiceHandle<T> ServiceLocatorImpl.getServiceHandle(Class<T> contractOrImpl, String name, Annotation... qualifiers) <T> ServiceHandle<T> ServiceLocatorImpl.getServiceHandle(Type contractOrImpl, Annotation... qualifiers) <T> ServiceHandle<T> ServiceLocatorImpl.getServiceHandle(Type contractOrImpl, String name, Annotation... qualifiers) <T> ServiceHandle<T> ServiceLocatorImpl.getServiceHandle(ActiveDescriptor<T> activeDescriptor) <T> ServiceHandle<T> ServiceLocatorImpl.getServiceHandle(ActiveDescriptor<T> activeDescriptor, Injectee injectee) private <T> ServiceHandleImpl<T> ServiceLocatorImpl.getServiceHandleImpl(ActiveDescriptor<T> activeDescriptor, Injectee injectee) (package private) <T> TServiceLocatorImpl.getUnqualifiedService(Type contractOrImpl, Unqualified unqualified, boolean isIterable, Annotation... qualifiers) This method is only called from the get of IterableProvider.(package private) <T> ServiceHandle<T> ServiceLocatorImpl.getUnqualifiedServiceHandle(Type contractOrImpl, Unqualified unqualified, boolean isIterable, Annotation... qualifiers) private List<?> ServiceLocatorImpl.internalGetAllServiceHandles(Type contractOrImpl, Unqualified unqualified, boolean getHandles, boolean isIterable, Annotation... qualifiers) private <T> ActiveDescriptor<T> ServiceLocatorImpl.internalGetDescriptor(Injectee onBehalfOf, Type contractOrImpl, String name, Unqualified unqualified, boolean isIterable, boolean calledFromSecondChanceResolveMethod, Annotation... qualifiers) private <T> ActiveDescriptor<T> ServiceLocatorImpl.internalGetDescriptor(Injectee onBehalfOf, Type contractOrImpl, String name, Unqualified unqualified, boolean isIterable, Annotation... qualifiers) ServiceLocatorImpl.reifyDescriptor(Descriptor descriptor) ServiceLocatorImpl.reifyDescriptor(Descriptor descriptor, Injectee injectee) private Map<SystemInjecteeImpl, Object> ClazzCreator.resolveAllDependencies(ServiceHandle<?> root) voidCollector.throwIfErrors()This method will throw if the list of throwables associated with this collector is not emptyConstructors in org.jvnet.hk2.internal with parameters of type MultiExceptionModifierConstructorDescription(package private)ErrorInformationImpl(ErrorType errorType, Descriptor descriptor, Injectee injectee, MultiException exception) (package private)ErrorResults(ActiveDescriptor<?> descriptor, Injectee injectee, MultiException me) -
Uses of MultiException in org.jvnet.hk2.testing.junit.internal
Methods in org.jvnet.hk2.testing.junit.internal that throw MultiException
ServiceLocator.getService(ActiveDescriptor, ServiceHandle, Injectee)