|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JMSDestinationResolver
This is an interface allowing abstraction of the mechanism to implement for retrieving JMS destinations. Implementation may need the application configuration handler object that shall be set to resolver befaore any destination acquisition.
ApplicationConfig
Method Summary | |
---|---|
javax.jms.Queue |
resolveQueue(java.lang.String name)
Resolve a JMS queue using its name. |
javax.jms.Topic |
resolveTopic(java.lang.String name)
Resolve a JMS topic using its name. |
void |
setApplicationConfig(ApplicationConfig configuration)
Set the current application conifguration to this resolver |
Method Detail |
---|
void setApplicationConfig(ApplicationConfig configuration)
configuration
- The application configured settingsjavax.jms.Queue resolveQueue(java.lang.String name) throws InfrastructureException, InvalidParameterException
name
- The name of the queue to retrieve
InfrastructureException
- if acquisition context (Jndi for example) is not available
InvalidParameterException
- if the specified destination name is unknown by resolution systemjavax.jms.Topic resolveTopic(java.lang.String name) throws InfrastructureException, InvalidParameterException
name
- The name of the topic to retrieve
InfrastructureException
- if acquisition context (Jndi for example) is not available
InvalidParameterException
- if the specified destination name is unknown by resolution system
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |