![JAR search and dependency download from the Maven repository](/logo.png)
com.tangosol.coherence.management.internal.EntityMBeanResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of coherence-management Show documentation
Show all versions of coherence-management Show documentation
Oracle Coherence Community Edition
/*
* Copyright (c) 2000, 2020, Oracle and/or its affiliates.
*
* Licensed under the Universal Permissive License v 1.0 as shown at
* http://oss.oracle.com/licenses/upl.
*/
package com.tangosol.coherence.management.internal;
import com.tangosol.util.Base;
import com.tangosol.util.Filter;
import java.util.ArrayList;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import javax.ws.rs.container.ContainerRequestContext;
/**
* The MBeanResponse used for sending entities i.e. actual MBean
* object/collection itself.
*
* @author sr 2017.08.21
* @since 12.2.1.4.0
*/
public class EntityMBeanResponse
extends MBeanResponse
{
// ----- constructors -----------------------------------------------------------------
/**
* Default Constructor.
*/
public EntityMBeanResponse()
{
}
/**
* Construct an EntityMBeanResponse instance.
*
* @param ctxRequest the request context
* @param filterLinks the links filter
*/
public EntityMBeanResponse(ContainerRequestContext ctxRequest, Filter filterLinks)
{
super(ctxRequest, filterLinks);
}
// ----- EntityMBeanResponse methods ------------------------------------------------------
/**
* Return the entity object,
*
* @return the entity object
*/
public Map getEntity()
{
return m_mapEntity;
}
/**
* Update the entity object.
*
* @param entity the entity object
*/
public void setEntity(Map entity)
{
m_mapEntity = entity;
}
/**
* Return the entities object,
*
* @return the entities object
*/
public List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy