com.sun.jmx.remote.generic
Interface ProfileClientProvider

All Known Implementing Classes:
ClientProvider, ClientProvider

public interface ProfileClientProvider

A provider for creating profiles given a profile name. Instances of this interface are created by ProfileClientFactory as part of its createProfile method.


Method Summary
 ProfileClient createProfile(String profile, Map environment)
          Create a new profile.
 

Method Detail

createProfile

ProfileClient createProfile(String profile,
                            Map environment)
                            throws ProfileProviderException

Create a new profile. Each successful call to this method produces a different ProfileClient object.

Parameters:
profile - the name of the profile to be created.
environment - a read-only Map containing named attributes to determine how the profile is created. Keys in this map must be Strings. The appropriate type of each associated value depends on the attribute.

Returns:
a ProfileClient representing the new profile. Each successful call to this method produces a different object.
Throws:
NullPointerException - if profile or environment is null.
ProfileProviderException


Copyright © 2014 Terracotta, Inc.. All rights reserved.