com.sun.jmx.remote.profile.sasl
Class ServerProvider

java.lang.Object
  extended by com.sun.jmx.remote.profile.sasl.ServerProvider
All Implemented Interfaces:
ProfileServerProvider

public class ServerProvider
extends Object
implements ProfileServerProvider


Constructor Summary
ServerProvider()
           
 
Method Summary
 ProfileServer createProfile(String profile, Map environment)
          Create a new profile.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerProvider

public ServerProvider()
Method Detail

createProfile

public ProfileServer createProfile(String profile,
                                   Map environment)
                            throws ProfileProviderException
Description copied from interface: ProfileServerProvider

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

Specified by:
createProfile in interface ProfileServerProvider
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 ProfileServer representing the new profile. Each successful call to this method produces a different object.
Throws:
ProfileProviderException


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