Question
package com.apress.springrecipes.jbpm.jbpm4.customers;
public interface CustomerService {
void sendWelcomeEmail(Long customerId);
void deauthorizeCustomer(Long customerId);
void authorizeCustomer(Long customerId);
Customer getCustomerById(Long customerId);
Customer createCustomer(String email, String password, String firstName,
String lastName);
void sendCustomerVerificationEmail(Long customerId);
}
a.
void setupProcessDefinitions()
b.
Customer createCustomer(String email, String passphrase, String firstName, String lastName)
c.
void sendCustomerVerificationEmail(Long customerId)
d.
all of the mentioned
Posted under Java Spring Framework
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. The class(CustomerServiceImpl) provides a few salient methods:-
Similar Questions
Discover Related MCQs
Q. In the bean, setupProcessDefinitions is run when the bean is created.
View solution
Q. Process definition will reference Spring beans using the JBoss expression language.
View solution
Q. In jBPM, a business process is built using jPDL.
View solution
Q. Once in the java element named send-verification-email, jBPM will invoke the method:-
View solution
Q. Inside authorizeCustomer, the service queries the server for the any processes waiting at the:-
View solution
Q. The authorizeCustomer method also updates the Customer entity, marking it as authorized. From there, execution proceeds to the send-welcome-email java element.
View solution
Q. OSGi—which was formerly known as the:-
View solution
Q. OSGi provides a layer on top of the JVM’s default class loader.
View solution
Q. On top of Spring Dynamic Modules, SpringSource built SpringSource dm Server, which is a server wired from top to bottom with OSGi and Spring.
View solution
Q. OSGi is a framework.
View solution
Q. User component models are:-
View solution
Q. In OSGi, anything used by something else is a state.
View solution
Q. “Service” doesn’t imply any:-
View solution
Q. OSGi bundles are simply standard .jar files with customized MANIFESTs that OSGi consumes at runtime.
View solution
Q. Tool which dynamically interrogates classes for their imports and generates OSGi–compliant entries.
View solution
Q. The Bundle-Activator directive describes to the OSGi environment, which class implements :-
View solution
Q. When the bundle begins to load and start, it calls the start method of the:-
View solution
Q. To start using Spring to smooth over some of the minutiae of resource acquisition and to help build more reliable systems in an OSGi environment.
View solution
Q. Spring Dynamic Modules scans our deployed bundles and loads an ApplicationContext (actually, the specific type of the ApplicationContext is OsgiBundleXmlApplicationContext) into memory based on an event, or a trigger.
View solution
Q. You’ll split your OSGi–specific Spring configuration and your plain-vanilla Spring configuration into:-
View solution
Suggested Topics
Are you eager to expand your knowledge beyond Java Spring Framework? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!