org.objectweb.carol.util.configuration
Interface ProtocolConfigurationImplMBean

All Known Implementing Classes:
ProtocolConfigurationImpl

public interface ProtocolConfigurationImplMBean

Defines the MBean interface. Don't use Models MBeans as it will imply some external libraries like commons-modeler (easier).

Author:
Florent Benoit

Method Summary
 java.lang.String getInitialContextFactoryClassName()
          Gets the InitialContextFactory classname (Context.INITIAL_CONTEXT_FACTORY)
 java.lang.String getName()
           
 java.util.List getNames()
          Gets JNDI names of the context with this configuration
 java.lang.String getobjectName()
           
 java.lang.String getProviderURL()
          Gets the provider URL of this configuration (Context.PROVIDER_URL)
 boolean iseventProvider()
           
 boolean isstateManageable()
           
 boolean isstatisticsProvider()
           
 void setobjectName(java.lang.String name)
          Sets the object name of this mbean
 

Method Detail

getProviderURL

java.lang.String getProviderURL()
Gets the provider URL of this configuration (Context.PROVIDER_URL)

Returns:
the provider URL of this configuration

getInitialContextFactoryClassName

java.lang.String getInitialContextFactoryClassName()
Gets the InitialContextFactory classname (Context.INITIAL_CONTEXT_FACTORY)

Returns:
the InitialContextFactory classname

getNames

java.util.List getNames()
                        throws javax.naming.NamingException
Gets JNDI names of the context with this configuration

Returns:
JNDI names
Throws:
javax.naming.NamingException - if the names cannot be listed

getName

java.lang.String getName()
Returns:
the name of the configuration

getobjectName

java.lang.String getobjectName()
Returns:
Object Name

setobjectName

void setobjectName(java.lang.String name)
Sets the object name of this mbean

Parameters:
name - the Object Name

iseventProvider

boolean iseventProvider()
Returns:
true if it is an event provider

isstateManageable

boolean isstateManageable()
Returns:
true if this managed object implements J2EE State Management Model

isstatisticsProvider

boolean isstatisticsProvider()
Returns:
true if this managed object implements the J2EE StatisticProvider Model