|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.xenonsoft.bridgetown.soa.impl.AbstractServiceAssembler
com.xenonsoft.bridgetown.soa.impl.ServiceAssemblerImpl
A basic implementation of the service assembly contract. This assembler can be used in J2EE enterprise applications in order to wire dependencies between service JavaBeans.
Once the assembler starts it creates the services beans dynamically. Dependencies between service beans and any reference value object are injected by the assembler.
For an assemblers that supports the web container environment
please see WebApplicationAssembler.
ApplicationAssemblerImpl,
WebApplicationAssembler,
Serialized Form| Field Summary |
| Fields inherited from class com.xenonsoft.bridgetown.soa.impl.AbstractServiceAssembler |
assembly, beanPropertyValueResolver, classLoader, instanceCache, proxyBeanBuilder |
| Constructor Summary | |
ServiceAssemblerImpl()
Default constructor |
|
| Method Summary | |
java.lang.Object |
getName(java.lang.String contextName,
java.lang.String beanName)
Retrieves the service bean implementation registered by name. |
java.lang.Object |
getName(java.lang.String contextName,
java.lang.String beanName,
java.lang.Class interfaceClass)
Retrieves the service bean implementation registered by name. |
java.lang.Object |
getService(java.lang.String contextName,
java.lang.Class interfaceClass)
Returns the service implementation for a registered interface class name |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ServiceAssemblerImpl()
| Method Detail |
public java.lang.Object getName(java.lang.String contextName,
java.lang.String beanName,
java.lang.Class interfaceClass)
contextName - the context identifierbeanName - the bean identifierinterfaceClass - the interface class the bean must implement (optional)
AssemblyFactoryException - - if the service cannot be instantiated, if it
reports an error, or cannot be syntactically created with violating
class encapsulation, or simply has not been defined at all.IServiceObjectFactory.getName(java.lang.String, java.lang.String, java.lang.Class)
public java.lang.Object getName(java.lang.String contextName,
java.lang.String beanName)
contextName - the context identifierbeanName - the bean identifier
AssemblyFactoryException - - if the service cannot be instantiated, if it
reports an error, or cannot be syntactically created with violating
class encapsulation, or simply has not been defined at all.IServiceObjectFactory.getName(java.lang.String, java.lang.String)
public java.lang.Object getService(java.lang.String contextName,
java.lang.Class interfaceClass)
contextName - the context nameinterfaceClass - the interface class name
AssemblyFactoryException - - if the service cannot be instantiated, if it
reports an error, or cannot be syntactically created with violating
class encapsulation, or simply has not been defined at all.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||