/******************************************************************************* * Copyright (c) 2011 GigaSpaces Technologies Ltd. All rights reserved * * 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. *******************************************************************************/ package org.cloudifysource.domain; import org.cloudifysource.domain.internal.CloudifyDSLEntity; /** * Defines an elastic processing unit deployment that does not contain a space. The stateless Processing unit * configuration POJO is initialized by the service groovy DSL and holds all of the required information regarding the * deployment of stateless processing units. * * In order to deploy mirror based services, use this processing unit type. * * @see org.openspaces.admin.pu.elastic.ElasticStatelessProcessingUnitDeployment * * @author adaml * */ @CloudifyDSLEntity(name = "statelessProcessingUnit", clazz = StatelessProcessingUnit.class, allowInternalNode = true, allowRootNode = false, parent = "service") public class StatelessProcessingUnit extends ServiceProcessingUnit { private String binaries; private String springProfilesActive; /** * can be a folder, or a jar/war file. * * @return - a String containing the folder path or the jar file name. */ public String getBinaries() { return binaries; } public void setBinaries(final String binaries) { this.binaries = binaries; } public String getSpringProfilesActive() { return springProfilesActive; } public void setSpringProfilesActive(final String springProfiles) { this.springProfilesActive = springProfiles; } }