
com.oneandone.cdi.weldstarter.WeldSetup Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of weld-starter-base Show documentation
Show all versions of weld-starter-base Show documentation
Contains the common classes to support the starting of weld standalone engines.
The newest version!
package com.oneandone.cdi.weldstarter;
import java.util.Collection;
import java.util.List;
import javax.enterprise.inject.spi.DeploymentException;
import javax.enterprise.inject.spi.Extension;
import org.jboss.weld.bootstrap.api.Service;
import org.jboss.weld.bootstrap.api.ServiceRegistry;
import org.jboss.weld.bootstrap.spi.Metadata;
/**
* Common interface of objects used to start weld by all weld-starters.
*/
public interface WeldSetup {
class ServiceConfig {
public ServiceConfig(Class serviceClass, S service) {
this.serviceClass = serviceClass;
this.service = service;
}
public Class serviceClass;
public S service;
}
Collection getBeanClasses();
List> getAlternativeClasses();
List> getEnabledAlternativeStereotypes();
List> getEnabledDecorators();
List getServices();
List> getEnabledInterceptors();
void setDeploymentException(DeploymentException deploymentException);
Iterable> getExtensions();
void registerServices(ServiceRegistry serviceRegistry);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy