[jboss-dev-forums] [Design of JCA on JBoss] - Proposal of new JCAMetaDataRepository (use JBoss-MDR project
jeff.zhang
do-not-reply at jboss.com
Thu Feb 19 03:29:31 EST 2009
public interface JCAMetaDataRepository
{
MutableMetaDataRepository getMetaDataRepository();
public void addConnectorMetaData(String name, ConnectorMetaData cmd);
public ConnectorMetaData getConnectorMetaData(String name);
public void removeConnectorMetaData(String name);
public void addManagedConnectionFactoryDeploymentGroup(String name, ManagedConnectionFactoryDeploymentGroup group);
public ManagedConnectionFactoryDeploymentGroup getManagedConnectionFactoryDeploymentGroup(String name);
public void removeManagedConnectionFactoryDeploymentGroup(String name);
public int getConnectorMetaDataCount();
public int getManagedConnectionFactoryCount();
}
1. add getMetaDataRepository(), basic idea is use JBoss-mdr project instead of old ConcurrentHashMap.
2. remove AdminObject and ActivationSpec add/get method since no other code use them
3. remove FormatterClassName method, since it is just about formatter, maybe format by other class.
4. remove JCAConnectorMetaDataEntry/Key and JCADeploymentMetaDataEntry class since we use mdr project.
5. will add ScopeInfo. (still thinking)
Any suggestion?
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4211348#4211348
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4211348
More information about the jboss-dev-forums
mailing list