public void hear( final Annotation qualifier, final Class<?> qualifiedType, final Object source ) { plexusTypeBinder.hear( qualifier, qualifiedType, source ); } }
public void hear( final Annotation qualifier, final Class<?> qualifiedType, final Object source ) { plexusTypeBinder.hear( qualifier, qualifiedType, source ); } }
public void hear( final Annotation qualifier, final Class<?> qualifiedType, final Object source ) { plexusTypeBinder.hear( qualifier, qualifiedType, source ); } }
public void hear( final Class<?> qualifiedType, final Object source ) { delegate.hear( null, qualifiedType, source ); }
public void hear( final Component component, final org.eclipse.sisu.inject.DeferredClass<?> implementation, final Object source ) { delegate.hear( component, (DeferredClass<?>) LEGACY_DEFERRED_CLASS.proxy( implementation ), source ); } };
public void hear( final Component component, final DeferredClass<?> clazz, final Object source ) { plexusTypeBinder.hear( component, clazz, source ); if ( null != repositoryType ) { descriptors.add( new RepositoryTypeDescriptor( component.role().getName(), component.hint(), repositoryType.pathPrefix(), repositoryType.repositoryMaxInstanceCount() ) ); repositoryType = null; } }
public void hear( final Component component, final DeferredClass<?> clazz, final Object source ) { plexusTypeBinder.hear( component, clazz, source ); if ( null != repositoryType ) { descriptors.add( new RepositoryTypeDescriptor( component.role().getName(), component.hint(), repositoryType.pathPrefix(), repositoryType.repositoryMaxInstanceCount() ) ); repositoryType = null; } }
@SuppressWarnings( "unchecked" ) public void hear( final Component component, final DeferredClass<?> clazz, final Object source ) { plexusTypeBinder.hear( component, clazz, source ); if ( null != repositoryType ) { descriptors.add( new RepositoryTypeDescriptor( (Class<? extends Repository>) component.role(), component.hint(), repositoryType.pathPrefix(), repositoryType.repositoryMaxInstanceCount() ) ); repositoryType = null; } }
@Override public void visitEnd() { if ( null != implementation ) { final Component component = componentVisitor.getComponent( space ); if ( null != component ) { final Class<?> role = component.role(); if ( implementation.equals( role.getName() ) ) { // direct binding, make sure it's valid InjectionPoint.forConstructorOf( role ); } plexusTypeListener.hear( component, new LoadedClass<Object>( space.loadClass( implementation ) ), space ); } implementation = null; } }