public class TestConnectorConnector extends BaseConnector {
public TestConnectorConnector() {
super();
logger1.info("logger1 : enterd into TestConnectorConnector");
// TODO Auto-generated constructor stub
}
static Logger logger1 = Logger.getLogger(TestConnectorConnector.class.getName());
@Override
public Browser createBrowser(BrowseContext context) {
logger1.info("logger1 : enterd into TestConnectorConnector");
return new TestConnectorBrowser(createConnection(context));
}
@Override
protected Operation createGetOperation(OperationContext context) {
return new TestConnectorGetOperation(createConnection(context));
}
private TestConnectorConnection createConnection(BrowseContext context) {
return new TestConnectorConnection(context);
}
}
在上面的代码中,我想调用覆盖方法。有人可以帮忙吗?。