Java Doc for MessageServer.java in  » EJB-Server-resin-3.1.5 » resin » com » caucho » ejb » message » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » EJB Server resin 3.1.5 » resin » com.caucho.ejb.message 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.caucho.ejb.AbstractServer
      com.caucho.ejb.message.MessageServer

MessageServer
public class MessageServer extends AbstractServer implements MessageEndpointFactory(Code)
JCA activation-spec server container for a message bean.


Field Summary
final protected static  Loggerlog
    

Constructor Summary
public  MessageServer(EjbContainer ejbContainer)
    

Method Summary
protected  voidbindContext()
    
public  MessageEndpointcreateEndpoint(XAResource xaResource)
     Creates an endpoint with the associated XA resource.
public  voiddestroy()
     Cleans up the entity server nicely.
 voidgenerate()
    
public  AbstractContextgetContext(Object obj, boolean foo)
    
public  ObjectgetLocalObject(Class api)
    
public  ObjectgetLocalProxy(Class api)
    
public  MessageDrivenContextgetMessageContext()
    
public  ObjectgetRemoteObject(Class api, String protocol)
    
protected  StringgetType()
    
public  voidinit()
    
public  booleanisDeliveryTransacted(Method method)
     Returns true to find out whether message deliveries to the message endpoint will be transacted.
public  voidsetActivationSpec(ActivationSpec activationSpec)
    
public  voidsetResourceAdapter(ResourceAdapter ra)
    
public  booleanstart()
     Starts the server.

Field Detail
log
final protected static Logger log(Code)




Constructor Detail
MessageServer
public MessageServer(EjbContainer ejbContainer)(Code)




Method Detail
bindContext
protected void bindContext()(Code)



createEndpoint
public MessageEndpoint createEndpoint(XAResource xaResource) throws UnavailableException(Code)
Creates an endpoint with the associated XA resource.



destroy
public void destroy()(Code)
Cleans up the entity server nicely.



generate
void generate() throws Exception(Code)



getContext
public AbstractContext getContext(Object obj, boolean foo)(Code)



getLocalObject
public Object getLocalObject(Class api)(Code)



getLocalProxy
public Object getLocalProxy(Class api)(Code)



getMessageContext
public MessageDrivenContext getMessageContext()(Code)
Returns the message driven context



getRemoteObject
public Object getRemoteObject(Class api, String protocol)(Code)



getType
protected String getType()(Code)



init
public void init() throws Exception(Code)
Initialize the server



isDeliveryTransacted
public boolean isDeliveryTransacted(Method method) throws NoSuchMethodException(Code)
Returns true to find out whether message deliveries to the message endpoint will be transacted. This is only a hint.



setActivationSpec
public void setActivationSpec(ActivationSpec activationSpec)(Code)
Sets the activation spec



setResourceAdapter
public void setResourceAdapter(ResourceAdapter ra)(Code)
Sets the resource adapter



start
public boolean start() throws Exception(Code)
Starts the server.



Fields inherited from com.caucho.ejb.AbstractServer
protected ComponentImpl _component(Code)(Java Doc)
protected Class _contextImplClass(Code)(Java Doc)
protected DataSource _dataSource(Code)(Java Doc)
protected Class _ejbClass(Code)(Java Doc)
final protected EjbContainer _ejbContainer(Code)(Java Doc)
protected String _ejbName(Code)(Java Doc)
protected String _filename(Code)(Java Doc)
protected HandleEncoder _handleEncoder(Code)(Java Doc)
protected String _handleServerId(Code)(Java Doc)
protected HomeHandle _homeHandle(Code)(Java Doc)
protected Class _homeStubClass(Code)(Java Doc)
protected String _id(Code)(Java Doc)
protected ConfigProgram[] _initInject(Code)(Java Doc)
protected ConfigProgram _initProgram(Code)(Java Doc)
protected int _line(Code)(Java Doc)
protected EnvironmentClassLoader _loader(Code)(Java Doc)
protected Class _local21(Code)(Java Doc)
protected ArrayList<Class> _localApiList(Code)(Java Doc)
protected EJBLocalHome _localHome(Code)(Java Doc)
protected Class _localHomeClass(Code)(Java Doc)
protected String _location(Code)(Java Doc)
protected String _mappedName(Code)(Java Doc)
protected EJBMetaDataImpl _metaData(Code)(Java Doc)
protected String _moduleName(Code)(Java Doc)
protected Class _primaryKeyClass(Code)(Java Doc)
protected HashMap<String, HandleEncoder> _protocolEncoderMap(Code)(Java Doc)
protected Class _remote21(Code)(Java Doc)
protected ArrayList<Class> _remoteApiList(Code)(Java Doc)
protected EJBHome _remoteHome(Code)(Java Doc)
protected Class _remoteHomeClass(Code)(Java Doc)
protected EJBHome _remoteHomeView(Code)(Java Doc)
protected Class _remoteObjectClass(Code)(Java Doc)
protected Class _remoteStubClass(Code)(Java Doc)
protected Class _serviceEndpointClass(Code)(Java Doc)
protected long _transactionTimeout(Code)(Java Doc)

Methods inherited from com.caucho.ejb.AbstractServer
public void addClientRemoteConfig(StringBuilder sb)(Code)(Java Doc)
public HandleEncoder addHandleEncoder(String protocol, String serverId)(Code)(Java Doc)
protected void bindContext()(Code)(Java Doc)
protected void bindInjection()(Code)(Java Doc)
public void destroy()(Code)(Java Doc)
public String encodeId(Object primaryKey)(Code)(Java Doc)
public ConfigException error(String msg)(Code)(Java Doc)
public Class getBeanSkelClass()(Code)(Java Doc)
public DynamicClassLoader getClassLoader()(Code)(Java Doc)
public AbstractContext getContext()(Code)(Java Doc)
public AbstractContext getContext(Object key) throws FinderException(Code)(Java Doc)
public AbstractContext getContext(long key) throws FinderException(Code)(Java Doc)
abstract public AbstractContext getContext(Object key, boolean forceLoad) throws FinderException(Code)(Java Doc)
public EJBHome getEJBHome()(Code)(Java Doc)
public EJBLocalHome getEJBLocalHome()(Code)(Java Doc)
public EJBMetaData getEJBMetaData()(Code)(Java Doc)
public String getEJBName()(Code)(Java Doc)
public EJBObject getEJBObject(Object key) throws FinderException(Code)(Java Doc)
protected Class getEjbClass()(Code)(Java Doc)
public EjbContainer getEjbContainer()(Code)(Java Doc)
public HandleEncoder getHandleEncoder(String protocol)(Code)(Java Doc)
public HandleEncoder getHandleEncoder()(Code)(Java Doc)
public String getHandleServerId()(Code)(Java Doc)
public HomeHandle getHomeHandle()(Code)(Java Doc)
public Class getHomeStubClass()(Code)(Java Doc)
public String getId()(Code)(Java Doc)
public ConfigProgram getInitProgram()(Code)(Java Doc)
public ArrayList<Class> getLocalApiList()(Code)(Java Doc)
public Class getLocalHomeClass()(Code)(Java Doc)
abstract public Object getLocalObject(Class api)(Code)(Java Doc)
abstract public Object getLocalProxy(Class api)(Code)(Java Doc)
public String getMappedName()(Code)(Java Doc)
public String getModuleName()(Code)(Java Doc)
public PostConstructConfig getPostConstruct()(Code)(Java Doc)
public PreDestroyConfig getPreDestroy()(Code)(Java Doc)
public Class getPrimaryKeyClass()(Code)(Java Doc)
public String getProtocolId()(Code)(Java Doc)
public String getProtocolId(Class cl)(Code)(Java Doc)
public Class getRemote21()(Code)(Java Doc)
public ArrayList<Class> getRemoteApiList()(Code)(Java Doc)
public Class getRemoteHomeClass()(Code)(Java Doc)
abstract public Object getRemoteObject(Class api, String protocol)(Code)(Java Doc)
public Object getRemoteObject(Object key) throws FinderException(Code)(Java Doc)
public Class getRemoteObjectClass()(Code)(Java Doc)
public Class getRemoteStubClass()(Code)(Java Doc)
public ConfigProgram getServerProgram()(Code)(Java Doc)
public Class getServiceEndpoint()(Code)(Java Doc)
public AbstractSessionContext getSessionContext()(Code)(Java Doc)
public TimerService getTimerService()(Code)(Java Doc)
public TransactionContext getTransaction()(Code)(Java Doc)
public EjbTransactionManager getTransactionManager()(Code)(Java Doc)
public long getTransactionTimeout()(Code)(Java Doc)
protected String getType()(Code)(Java Doc)
public UserTransaction getUserTransaction()(Code)(Java Doc)
public boolean hasRemoteObject()(Code)(Java Doc)
public void init() throws Exception(Code)(Java Doc)
public void initInstance(Object instance)(Code)(Java Doc)
public void initInstance(Object instance, ConfigContext env)(Code)(Java Doc)
public void invalidateCache()(Code)(Java Doc)
public boolean isContainerTransaction()(Code)(Java Doc)
public boolean isDead()(Code)(Java Doc)
public boolean isLocal()(Code)(Java Doc)
public boolean isRemote()(Code)(Java Doc)
public Object lookup(String jndiName)(Code)(Java Doc)
public Object remove(AbstractHandle handle)(Code)(Java Doc)
public void remove(Object primaryKey)(Code)(Java Doc)
public void setAroundInvoke(AroundInvokeConfig aroundInvoke)(Code)(Java Doc)
public void setConfigLocation(String filename, int line)(Code)(Java Doc)
public void setContainerTransaction(boolean isContainerTransaction)(Code)(Java Doc)
public void setContextImplClass(Class cl)(Code)(Java Doc)
public void setEJBName(String ejbName)(Code)(Java Doc)
public void setEjbClass(Class cl)(Code)(Java Doc)
public void setHandleEncoder(HandleEncoder encoder)(Code)(Java Doc)
public void setId(String id)(Code)(Java Doc)
public void setInitProgram(ConfigProgram init)(Code)(Java Doc)
public void setLocalApiList(ArrayList<Class> list)(Code)(Java Doc)
public void setLocalHomeClass(Class cl)(Code)(Java Doc)
public void setLocation(String location)(Code)(Java Doc)
public void setMappedName(String mappedName)(Code)(Java Doc)
public void setModuleName(String moduleName)(Code)(Java Doc)
public void setPostConstruct(PostConstructConfig postConstruct)(Code)(Java Doc)
public void setPreDestroy(PreDestroyConfig preDestroy)(Code)(Java Doc)
public void setRemoteApiList(ArrayList<Class> list)(Code)(Java Doc)
public void setRemoteHomeClass(Class cl)(Code)(Java Doc)
public void setRemoteObjectClass(Class cl)(Code)(Java Doc)
public void setServerProgram(ConfigProgram serverProgram)(Code)(Java Doc)
public void setServiceEndpoint(Class cl)(Code)(Java Doc)
public void setTransactionTimeout(long timeout)(Code)(Java Doc)
public boolean start() throws Exception(Code)(Java Doc)
public String toString()(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.