joynr.infrastructure.DefaultGlobalDomainAccessControllerProvider Maven / Gradle / Ivy
/*
*
* Copyright (C) 2011 - 2017 BMW Car IT GmbH
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// #####################################################
//#######################################################
//### ###
//## WARNING: This file is generated. DO NOT EDIT ##
//## All changes will be lost! ##
//### ###
//#######################################################
// #####################################################
package joynr.infrastructure;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import io.joynr.provider.Promise;
import joynr.infrastructure.DacTypes.MasterAccessControlEntry;
import joynr.infrastructure.DacTypes.MasterRegistrationControlEntry;
import joynr.infrastructure.DacTypes.OwnerAccessControlEntry;
import joynr.infrastructure.DacTypes.OwnerRegistrationControlEntry;
public class DefaultGlobalDomainAccessControllerProvider extends GlobalDomainAccessControllerAbstractProvider {
private static final Logger logger = LoggerFactory.getLogger(DefaultGlobalDomainAccessControllerProvider.class);
public DefaultGlobalDomainAccessControllerProvider() {
}
/*
* getMasterAccessControlEntries
*/
@Override
public Promise getMasterAccessControlEntries(
String uid) {
logger.warn("**********************************************");
logger.warn("* DefaultGlobalDomainAccessControllerProvider.getMasterAccessControlEntries called");
logger.warn("**********************************************");
GetMasterAccessControlEntries1Deferred deferred = new GetMasterAccessControlEntries1Deferred();
MasterAccessControlEntry[] masterAces = {};
deferred.resolve(masterAces);
return new Promise<>(deferred);
}
/*
* getMasterAccessControlEntries
*/
@Override
public Promise getMasterAccessControlEntries(
String domain,
String interfaceName) {
logger.warn("**********************************************");
logger.warn("* DefaultGlobalDomainAccessControllerProvider.getMasterAccessControlEntries called");
logger.warn("**********************************************");
GetMasterAccessControlEntries1Deferred deferred = new GetMasterAccessControlEntries1Deferred();
MasterAccessControlEntry[] masterAces = {};
deferred.resolve(masterAces);
return new Promise<>(deferred);
}
/*
* getMediatorAccessControlEntries
*/
@Override
public Promise getMediatorAccessControlEntries(
String uid) {
logger.warn("**********************************************");
logger.warn("* DefaultGlobalDomainAccessControllerProvider.getMediatorAccessControlEntries called");
logger.warn("**********************************************");
GetMediatorAccessControlEntries1Deferred deferred = new GetMediatorAccessControlEntries1Deferred();
MasterAccessControlEntry[] mediatorAces = {};
deferred.resolve(mediatorAces);
return new Promise<>(deferred);
}
/*
* getMediatorAccessControlEntries
*/
@Override
public Promise getMediatorAccessControlEntries(
String domain,
String interfaceName) {
logger.warn("**********************************************");
logger.warn("* DefaultGlobalDomainAccessControllerProvider.getMediatorAccessControlEntries called");
logger.warn("**********************************************");
GetMediatorAccessControlEntries1Deferred deferred = new GetMediatorAccessControlEntries1Deferred();
MasterAccessControlEntry[] mediatorAces = {};
deferred.resolve(mediatorAces);
return new Promise<>(deferred);
}
/*
* getOwnerAccessControlEntries
*/
@Override
public Promise getOwnerAccessControlEntries(
String uid) {
logger.warn("**********************************************");
logger.warn("* DefaultGlobalDomainAccessControllerProvider.getOwnerAccessControlEntries called");
logger.warn("**********************************************");
GetOwnerAccessControlEntries1Deferred deferred = new GetOwnerAccessControlEntries1Deferred();
OwnerAccessControlEntry[] ownerAces = {};
deferred.resolve(ownerAces);
return new Promise<>(deferred);
}
/*
* getOwnerAccessControlEntries
*/
@Override
public Promise getOwnerAccessControlEntries(
String domain,
String interfaceName) {
logger.warn("**********************************************");
logger.warn("* DefaultGlobalDomainAccessControllerProvider.getOwnerAccessControlEntries called");
logger.warn("**********************************************");
GetOwnerAccessControlEntries1Deferred deferred = new GetOwnerAccessControlEntries1Deferred();
OwnerAccessControlEntry[] ownerAces = {};
deferred.resolve(ownerAces);
return new Promise<>(deferred);
}
/*
* getMasterRegistrationControlEntries
*/
@Override
public Promise getMasterRegistrationControlEntries(
String uid) {
logger.warn("**********************************************");
logger.warn("* DefaultGlobalDomainAccessControllerProvider.getMasterRegistrationControlEntries called");
logger.warn("**********************************************");
GetMasterRegistrationControlEntriesDeferred deferred = new GetMasterRegistrationControlEntriesDeferred();
MasterRegistrationControlEntry[] masterRces = {};
deferred.resolve(masterRces);
return new Promise<>(deferred);
}
/*
* getMediatorRegistrationControlEntries
*/
@Override
public Promise getMediatorRegistrationControlEntries(
String uid) {
logger.warn("**********************************************");
logger.warn("* DefaultGlobalDomainAccessControllerProvider.getMediatorRegistrationControlEntries called");
logger.warn("**********************************************");
GetMediatorRegistrationControlEntriesDeferred deferred = new GetMediatorRegistrationControlEntriesDeferred();
MasterRegistrationControlEntry[] mediatorRces = {};
deferred.resolve(mediatorRces);
return new Promise<>(deferred);
}
/*
* getOwnerRegistrationControlEntries
*/
@Override
public Promise getOwnerRegistrationControlEntries(
String uid) {
logger.warn("**********************************************");
logger.warn("* DefaultGlobalDomainAccessControllerProvider.getOwnerRegistrationControlEntries called");
logger.warn("**********************************************");
GetOwnerRegistrationControlEntriesDeferred deferred = new GetOwnerRegistrationControlEntriesDeferred();
OwnerRegistrationControlEntry[] ownerRces = {};
deferred.resolve(ownerRces);
return new Promise<>(deferred);
}
}