public Mapper getDefaultMapper() {
return _mappers.get(0);
}
void activatePMAPIs() throws JBIException {
ProcessAndInstanceManagementImpl pm = new ProcessAndInstanceManagementImpl(_server, _store);
_processManagement = pm;
_instanceManagement = pm;
_processManagementEndpoint = getContext().activateEndpoint(PM_SERVICE_NAME, PM_PORT_NAME);
_instanceManagementEndpoint = getContext().activateEndpoint(IM_SERVICE_NAME, IM_PORT_NAME);
_processManagementProcessor = new DynamicMessageExchangeProcessor<ProcessManagement>(pm, getChannel());