@Override public List<Annotated<Class<?>>> findMetaAnnotatedClasses(final Class<? extends Annotation> annotation) { try { return filter(delegate.findMetaAnnotatedClasses(annotation), new AnnotatedClassPredicate(getAnnotatedClassNames())); } catch (final TypeNotPresentException tnpe) { throw handleException(tnpe, annotation); } }
void configureWebserviceSecurity(final EjbJarInfo ejbJarInfo, final EjbModule ejbModule) { final Object altDD = ejbModule.getOpenejbJar(); final List<PortInfo> infoList = ejbJarInfo.portInfos; this.configureWebserviceScurity(infoList, altDD); }
public AnnotationDeployer() { discoverAnnotatedBeans = new DiscoverAnnotatedBeans(); processAnnotatedBeans = new ProcessAnnotatedBeans(); envEntriesPropertiesDeployer = new EnvEntriesPropertiesDeployer(); }
public AppModule deploy(AppModule appModule) { for (EjbModule ejbModule : appModule.getEjbModules()) { Object altDD = getOpenejbJarType(ejbModule); if (altDD instanceof OpenejbJarType) { convertEjbRefs(ejbModule.getEjbJar(), ejbModule.getOpenejbJar(), (OpenejbJarType) altDD); convertMdbConfigs(ejbModule.getEjbJar(), (OpenejbJarType) altDD); mergeEntityMappings(ejbModule.getModuleId(), appModule.getCmpMappings(), ejbModule.getOpenejbJar(), (OpenejbJarType) altDD); } } return appModule; }
private void mapReferences(final AppModule appModule) { for (final EjbModule ejbModule : appModule.getEjbModules()) { mapReferences(ejbModule.getEjbJar()); } }
public void fail(String component, String key, Object... details) { ValidationFailure failure = new ValidationFailure(key); failure.setDetails(details); failure.setComponentName(component); addFailure(failure); }
public WebModule deploy(WebModule webModule) throws OpenEJBException { setModule(webModule); try { webModule = discoverAnnotatedBeans.deploy(webModule); webModule = envEntriesPropertiesDeployer.deploy(webModule); webModule = processAnnotatedBeans.deploy(webModule); return webModule; } finally { removeModule(); } }
public AnnotationDeployer() { discoverAnnotatedBeans = new DiscoverAnnotatedBeans(); processAnnotatedBeans = new ProcessAnnotatedBeans(SystemInstance.get().getOptions().get("openejb.jaxws.add-remote", false)); builtInEnvironmentEntries = new BuiltInEnvironmentEntries(); envEntriesPropertiesDeployer = new EnvEntriesPropertiesDeployer(); mBeanDeployer = new MBeanDeployer(); mergeWebappJndiContext = new MergeWebappJndiContext(); }
public void warn(String component, String key, Object... details) { ValidationWarning warning = new ValidationWarning(key); warning.setDetails(details); warning.setComponentName(component); addWarning(warning); }
@Override public List<Class<?>> findAnnotatedClasses(final Class<? extends Annotation> annotation) { try { return filter(delegate.findAnnotatedClasses(annotation), new ClassPredicate<>(getAnnotatedClassNames())); } catch (final TypeNotPresentException tnpe) { throw handleException(tnpe, annotation); } }
@Override public List<Method> findAnnotatedMethods(final Class<? extends Annotation> annotation) { return filter(delegate.findAnnotatedMethods(annotation), new MethodPredicate(getAnnotatedClassNames())); }
@Override public List<Constructor> findAnnotatedConstructors(final Class<? extends Annotation> annotation) { return filter(delegate.findAnnotatedConstructors(annotation), new ConstructorPredicate(getAnnotatedClassNames())); }
@Override public List<Annotated<Method>> findMetaAnnotatedMethods(final Class<? extends Annotation> annotation) { return filter(delegate.findMetaAnnotatedMethods(annotation), new AnnotatedMethodPredicate(getAnnotatedClassNames())); }
private void mapReferences(final AppModule appModule) { for (final EjbModule ejbModule : appModule.getEjbModules()) { mapReferences(ejbModule.getEjbJar()); } }
public void fail(final String component, final String key, final Object... details) { final ValidationFailure failure = new ValidationFailure(key); failure.setDetails(details); failure.setComponentName(component); addFailure(failure); }
public AppModule deploy(AppModule appModule) throws OpenEJBException { setModule(appModule); try { appModule = discoverAnnotatedBeans.deploy(appModule); appModule = envEntriesPropertiesDeployer.deploy(appModule); appModule = processAnnotatedBeans.deploy(appModule); return appModule; } finally { removeModule(); } }
public void warn(final String component, final String key, final Object... details) { final ValidationWarning warning = new ValidationWarning(key); warning.setDetails(details); warning.setComponentName(component); addWarning(warning); }
@Override public List<Annotated<Class<?>>> findMetaAnnotatedClasses(final Class<? extends Annotation> annotation) { try { return filter(delegate.findMetaAnnotatedClasses(annotation), new AnnotatedClassPredicate(getAnnotatedClassNames())); } catch (final TypeNotPresentException tnpe) { throw handleException(tnpe, annotation); } }
@Override public List<Class<?>> findAnnotatedClasses(final Class<? extends Annotation> annotation) { try { return filter(delegate.findAnnotatedClasses(annotation), new ClassPredicate(getAnnotatedClassNames())); } catch (final TypeNotPresentException tnpe) { throw handleException(tnpe, annotation); } }
void configureWebserviceSecurity(final EjbJarInfo ejbJarInfo, final EjbModule ejbModule) { final Object altDD = ejbModule.getOpenejbJar(); final List<PortInfo> infoList = ejbJarInfo.portInfos; this.configureWebserviceScurity(infoList, altDD); }