(incubating) | The Free and Open Productivity Suite
Announcing Apache OpenOffice 3.4
OOoRunner test harness

basicrunner.basichelper
Class Connector

basicrunner.basichelper.Connector

public class Connector

This is a special service that is used in testing Acceptor component in BASIC. This componennt creates a separate thread that tries to connect to BASIC's acceptor. After successfull connection it writes a connectionString to XConnection.


Constructor Summary
Connector()
          Create a connector.
 
Method Summary
 Object createInstance()
          Returns an instance of the connector.
 Object createInstanceWithArguments(Object[] args)
          Returns an instance of the connector.
 byte[] getImplementationId()
          Get a unique id for this implementation.
 String getImplementationName()
          Get the implementation name of this class.
 String[] getSupportedServiceNames()
          Get all supported service names.
 Type[] getTypes()
          Return all implemented types of this class.
 boolean supportsService(String name)
          Is this servioce supported?
 

Constructor Detail

Connector

public Connector()
Create a connector.
Method Detail

createInstanceWithArguments

public Object createInstanceWithArguments(Object[] args)
Returns an instance of the connector. Arguments are not supported here and will be ignored.
Parameters:
args - The arguments.
Returns:
The connector.

createInstance

public Object createInstance()
Returns an instance of the connector.
Returns:
The connector.

getImplementationId

public byte[] getImplementationId()
Get a unique id for this implementation.
Returns:
The id.

getTypes

public Type[] getTypes()
Return all implemented types of this class.
Returns:
The implemented UNO types.

supportsService

public boolean supportsService(String name)
Is this servioce supported?
Parameters:
name - The service name.
Returns:
True, if the service is supported.

getSupportedServiceNames

public String[] getSupportedServiceNames()
Get all supported service names.
Returns:
All supported servcices.

getImplementationName

public String getImplementationName()
Get the implementation name of this class.
Returns:
The implementation name.

OOoRunner test harness

Apache Feather

Copyright & License | Privacy | Contact Us

Apache and the Apache feather logos are trademarks of The Apache Software Foundation. OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.

Apache OpenOffice is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.