alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

What this is

This file is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Other links

The source code

/*
 * ManagementMapper.java
 *
 * Created on June 26, 2003, 2:27 PM
 */

package org.netbeans.modules.j2ee.deployment.plugins.api;

import javax.management.j2ee.Management;
import javax.management.ObjectName;
import javax.enterprise.deploy.spi.DeploymentManager;
import javax.enterprise.deploy.spi.Target;

/**
 * Provider of mapping between J2EE Deployment (JSR-88) and J2EE Management (JSR-77) structures.
 *
 * @author  nn136682, gfink
 */
public interface ManagementMapper {
    
    /**
     * Return management instance the given deployment manager could access for target
     * configuration information.  This assume one-to-one mapping between 
     * deployment manager and management object.
     *
     * @param deploymentManager the deployment manager to get management for
     * @return Management object to be used by the deployement manager.
     */
    public Management getManagement(DeploymentManager deploymentManager);
    
    /**
     * Return the key for J2EEServer that correspond to given deployment target.
     *
     * @param target the deployment target to retrieve the J2EEServer for
     * @return ObjectName key to the J2EEServer
     */
    public ObjectName getTargetJ2eeServer(Target target);
    
}
... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.