jrun.deployment.resource
Interface ResourceDeployerMBean

All Superinterfaces:
java.io.Serializable, Service, ServiceMBean
All Known Implementing Classes:
ResourceDeployer

public interface ResourceDeployerMBean
extends ServiceMBean

MBean interface used to plug ResourceDeployer into strongly-typed JMX.

Author:
PS Neville

Fields inherited from interface jrunx.kernel.Service
INITIALIZED, STARTED, STARTING, STOPPED, STOPPING, UNINITIALIZED
 
Method Summary
 void addConnectionFactory(java.lang.String strName, java.util.Properties props)
           
 void addDestination(java.lang.String strName, java.util.Properties props)
           
 void addMailSession(java.lang.String strName, java.util.Properties props)
           
 void addUrlResource(java.lang.String strName, java.util.Properties props)
           
 void createDataSource(java.util.Properties props)
           
 java.lang.String[] getConnectionFactoryNames()
           
 java.util.Properties getConnectionFactoryProps(java.lang.String strName)
           
 java.lang.String[] getDestinationNames()
           
 java.util.Properties getDestinationProps(java.lang.String strName)
           
 java.lang.String[] getMailSessionNames()
           
 java.util.Properties getMailSessionProps(java.lang.String strName)
           
 java.lang.String[] getUrlResourceNames()
           
 java.util.Properties getUrlResourceProps(java.lang.String strName)
           
 void removeConnectionFactory(java.lang.String strName)
           
 void removeDataSource(java.lang.String dbname)
           
 void removeDestination(java.lang.String strName)
           
 void removeMailSession(java.lang.String strName)
           
 void removeUrlResource(java.lang.String strName)
           
 void setConnectionFactoryProps(java.lang.String strName, java.util.Properties props)
           
 void setDestinationProps(java.lang.String strName, java.util.Properties props)
           
 void setMailSessionProps(java.lang.String strName, java.util.Properties props)
           
 void setUrlResourceProps(java.lang.String strName, java.util.Properties props)
           
 
Methods inherited from interface jrunx.kernel.ServiceMBean
bind, getBindToJNDI, getDeactivated, getDomainName, getJRunService, getLogger, getName, getParentService, getServerName, requestServer, setBindToJNDI, setDeactivated, setDomainName, setName, setParentService, unbind
 
Methods inherited from interface jrunx.kernel.Service
destroy, getStatus, init, start, stop, updateStatus
 

Method Detail

createDataSource

public void createDataSource(java.util.Properties props)
                      throws java.lang.Exception

removeDataSource

public void removeDataSource(java.lang.String dbname)
                      throws java.lang.Exception

getConnectionFactoryNames

public java.lang.String[] getConnectionFactoryNames()
                                             throws java.lang.Exception

getConnectionFactoryProps

public java.util.Properties getConnectionFactoryProps(java.lang.String strName)
                                               throws java.lang.Exception

setConnectionFactoryProps

public void setConnectionFactoryProps(java.lang.String strName,
                                      java.util.Properties props)
                               throws java.lang.Exception

addConnectionFactory

public void addConnectionFactory(java.lang.String strName,
                                 java.util.Properties props)
                          throws java.lang.Exception

removeConnectionFactory

public void removeConnectionFactory(java.lang.String strName)
                             throws java.lang.Exception

getDestinationNames

public java.lang.String[] getDestinationNames()
                                       throws java.lang.Exception

getDestinationProps

public java.util.Properties getDestinationProps(java.lang.String strName)
                                         throws java.lang.Exception

setDestinationProps

public void setDestinationProps(java.lang.String strName,
                                java.util.Properties props)
                         throws java.lang.Exception

addDestination

public void addDestination(java.lang.String strName,
                           java.util.Properties props)
                    throws java.lang.Exception

removeDestination

public void removeDestination(java.lang.String strName)
                       throws java.lang.Exception

getMailSessionNames

public java.lang.String[] getMailSessionNames()
                                       throws java.lang.Exception

getMailSessionProps

public java.util.Properties getMailSessionProps(java.lang.String strName)
                                         throws java.lang.Exception

setMailSessionProps

public void setMailSessionProps(java.lang.String strName,
                                java.util.Properties props)
                         throws java.lang.Exception

addMailSession

public void addMailSession(java.lang.String strName,
                           java.util.Properties props)
                    throws java.lang.Exception

removeMailSession

public void removeMailSession(java.lang.String strName)
                       throws java.lang.Exception

getUrlResourceNames

public java.lang.String[] getUrlResourceNames()
                                       throws java.lang.Exception

getUrlResourceProps

public java.util.Properties getUrlResourceProps(java.lang.String strName)
                                         throws java.lang.Exception

setUrlResourceProps

public void setUrlResourceProps(java.lang.String strName,
                                java.util.Properties props)
                         throws java.lang.Exception

addUrlResource

public void addUrlResource(java.lang.String strName,
                           java.util.Properties props)
                    throws java.lang.Exception

removeUrlResource

public void removeUrlResource(java.lang.String strName)
                       throws java.lang.Exception


Copyright � 2002 Macromedia Corporation. All Rights Reserved.