|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ICommandBeanContext
Interface to a bean provider, allowing lookups of generic bean services
Method Summary | |
---|---|
boolean |
containsBean(java.lang.String name)
|
java.util.Map |
getAllBeansOfType(java.lang.Class type)
Retrieve all beans of a given type |
ICISTransferStream |
getApplicationResource(java.lang.String name)
Load a resource from the application context. |
java.lang.Object |
getBean(java.lang.String name)
Retrieve a service bean by name |
java.lang.Object |
getBean(java.lang.String name,
java.lang.Class type)
Retrieve a service bean by name |
java.lang.String |
getMessage(java.lang.String key,
java.lang.Object[] args,
java.util.Locale locale)
Retrieve a localized message associated with this command application |
ICommandBeanContext |
getParentContext()
|
void |
publishEvent(ICommandApplicationEvent applicationEvent)
Publish the event throughout the application |
Method Detail |
---|
ICommandBeanContext getParentContext()
boolean containsBean(java.lang.String name)
name
- the bean name to query
java.lang.Object getBean(java.lang.String name)
name
- the name of the bean
java.lang.Object getBean(java.lang.String name, java.lang.Class type)
name
- the name of the beantype
- the type of the bean
java.util.Map getAllBeansOfType(java.lang.Class type)
type
- the type
java.lang.String getMessage(java.lang.String key, java.lang.Object[] args, java.util.Locale locale)
key
- the message keyargs
- the message argumentslocale
- the locale or null for default
ICISTransferStream getApplicationResource(java.lang.String name)
name
- the resource name
void publishEvent(ICommandApplicationEvent applicationEvent)
applicationEvent
- the application event
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |