@Component public class InvokerSpringBean extends Object implements org.springframework.context.ApplicationContextAware
| Constructor and Description |
|---|
InvokerSpringBean()
The default one
|
InvokerSpringBean(int port,
Object... targets)
With port and targets
|
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Destroy
|
org.springframework.context.ApplicationContext |
getContext() |
String |
getContextPrefix() |
InvokerService |
getService() |
String |
getTitle() |
void |
init()
Initialize.
|
void |
setApplicationContext(org.springframework.context.ApplicationContext context) |
void |
setContextPrefix(String contextPrefix) |
void |
setTitle(String title) |
public InvokerSpringBean()
public InvokerSpringBean(int port,
Object... targets)
port - the port to usetargets - the targetspublic InvokerService getService()
public org.springframework.context.ApplicationContext getContext()
public void setApplicationContext(org.springframework.context.ApplicationContext context)
throws org.springframework.beans.BeansException
setApplicationContext in interface org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansException@PostConstruct public void init()
@PreDestroy public void destroy()
public String getContextPrefix()
public void setContextPrefix(String contextPrefix)
contextPrefix - the contextPrefix to setpublic String getTitle()
public void setTitle(String title)
title - the title to setCopyright © 2016. All rights reserved.